Apache Flex (FlexJS) 0.7.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
MouseUtils

Package | org.apache.flex.events.utils
Class | public class MouseUtils
Inheritance | MouseUtils Object

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

This class maps common event functions for MouseEvent

Public Methods

| Method | Defined By
--- | --- | ---
|  | MouseUtils() | MouseUtils
|  | eventTarget(event:MouseEvent):Object [static] Returns the event target. | MouseUtils
|  | globalX(event:MouseEvent):Number [static] Returns the globel X value. | MouseUtils
|  | globalY(event:MouseEvent):Number [static] Returns the global Y value. | MouseUtils
|  | localX(event:MouseEvent):Number [static] Returns the localX value. | MouseUtils
|  | localY(event:MouseEvent):Number [static] Returns the localY value. | MouseUtils

Constructor Detail

MouseUtils | () | Constructor

`public function MouseUtils()`

Method Detail

eventTarget | () | method

`public static function eventTarget(event:MouseEvent):Object`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Returns the event target.

Parameters

| `event:MouseEvent`

Returns

| `Object`

globalX | () | method |

`public static function globalX(event:MouseEvent):Number`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Returns the globel X value.

Parameters

| `event:MouseEvent`

Returns

| `Number`

globalY | () | method |

`public static function globalY(event:MouseEvent):Number`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Returns the global Y value.

Parameters

| `event:MouseEvent`

Returns

| `Number`

localX | () | method |

`public static function localX(event:MouseEvent):Number`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Returns the localX value.

Parameters

| `event:MouseEvent`

Returns

| `Number`

localY | () | method |

`public static function localY(event:MouseEvent):Number`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Returns the localY value.

Parameters

| `event:MouseEvent`

Returns

| `Number`

Mon Sep 5 2016, 07:19 AM -07:00