Main Page | Packages | Class Tree | Index | Help

mx.events

class LowLevelEvents

Object
  |
  +--mx.events.LowLevelEvents


class LowLevelEvents
extends Object

support for low-level DOM mouse events



Field Summary


__q_mouseMove: Array
the mouseMove queue is specially handled

static
_fEventDispatcher: UIEventDispatcher



_onDragOut: Function



_onDragOver: Function



_onMouseDown: Function



_onMouseMove: Function
copies of the original functions, if any


_onMouseUp: Function



_onPress: Function



_onRelease: Function



_onReleaseOutside: Function



_onRollOut: Function



_onRollOver: Function


static
classConstructed: Boolean



createEvent: Function



dispatchEvent: Function


static
mouseEvents: Object
list of supported mouse events

static
somewhereEvents: Object
Flash specific mouse events that track the mouse over any object

static
UIEventDispatcherDependency


Fields inherited from class Object

__proto__, constructor, prototype

Method Summary

static
addMouseEvents ( obj: Object ): Void
internal function that adds mouse listeners to a UIObject so the listener can get events

static
addSomewhereEvents ( obj: Object ): Void
internal function that adds mouse listeners to a UIObject so the listener can get events

static
classConstruct ( ): Boolean


static
enableLowLevelEvents ( )



onDragOut ( Void ): Void
internal hook for mouse events


onDragOver ( Void ): Void
internal hook for mouse events


onMouseDown ( Void ): Void
internal hook for somewhere events


onMouseMove ( Void ): Void
XML mouse events are different from Flash mouse events.


onMouseUp ( Void ): Void
internal hook for somewhere events


onPress ( Void ): Void
internal hook for mouse events


onRelease ( Void ): Void
internal hook for mouse events


onReleaseOutside ( Void ): Void
internal hook for mouse events


onRollOut ( Void ): Void
internal hook for mouse events


onRollOver ( Void ): Void
internal hook for mouse events

static
removeMouseEvents ( obj: Object ): Void
internal function that removes mouse listeners from a UIObject

static
removeSomewhereEvents ( obj: Object ): Void
internal function that removes mouse listeners from a UIObject

Methods inherited from class Object

addProperty, hasOwnProperty, isPropertyEnumerable, isPrototypeOf, registerClass, toLocaleString, toString, unwatch, valueOf, watch



Field Documentation

__q_mouseMove

var __q_mouseMove: Array
the mouseMove queue is specially handled

_fEventDispatcher

static var _fEventDispatcher: UIEventDispatcher

_onDragOut

var _onDragOut: Function

_onDragOver

var _onDragOver: Function

_onMouseDown

var _onMouseDown: Function

_onMouseMove

var _onMouseMove: Function
copies of the original functions, if any

_onMouseUp

var _onMouseUp: Function

_onPress

var _onPress: Function

_onRelease

var _onRelease: Function

_onReleaseOutside

var _onReleaseOutside: Function

_onRollOut

var _onRollOut: Function

_onRollOver

var _onRollOver: Function

classConstructed

static var classConstructed: Boolean

createEvent

var createEvent: Function

dispatchEvent

var dispatchEvent: Function

mouseEvents

static var mouseEvents: Object
list of supported mouse events

somewhereEvents

static var somewhereEvents: Object
Flash specific mouse events that track the mouse over any object

UIEventDispatcherDependency

static var UIEventDispatcherDependency

Method Documentation

addMouseEvents

static function addMouseEvents(obj: Object): Void
internal function that adds mouse listeners to a UIObject so the listener can get events

addSomewhereEvents

static function addSomewhereEvents(obj: Object): Void
internal function that adds mouse listeners to a UIObject so the listener can get events

classConstruct

static function classConstruct(): Boolean

enableLowLevelEvents

static function enableLowLevelEvents()

onDragOut

function onDragOut(Void): Void
internal hook for mouse events

onDragOver

function onDragOver(Void): Void
internal hook for mouse events

onMouseDown

function onMouseDown(Void): Void
internal hook for somewhere events

onMouseMove

function onMouseMove(Void): Void
XML mouse events are different from Flash mouse events.

Here's how you should respond to XML mouse events in order to mimic a button mouseUp: if (mousewasdown && mouseisover) dispatchEvent("click") else { mousewasdown = false; } showUpState(); mouseDown: mousewasdown = true; mouseOver: mouseisover = true; if (mousewasdown) showDownState() else showOverState(); mouseOut: mouseisover = false; showUpState(); internal hook for mouse events

onMouseUp

function onMouseUp(Void): Void
internal hook for somewhere events

onPress

function onPress(Void): Void
internal hook for mouse events

onRelease

function onRelease(Void): Void
internal hook for mouse events

onReleaseOutside

function onReleaseOutside(Void): Void
internal hook for mouse events

onRollOut

function onRollOut(Void): Void
internal hook for mouse events

onRollOver

function onRollOver(Void): Void
internal hook for mouse events

removeMouseEvents

static function removeMouseEvents(obj: Object): Void
internal function that removes mouse listeners from a UIObject

removeSomewhereEvents

static function removeSomewhereEvents(obj: Object): Void
internal function that removes mouse listeners from a UIObject


The documentation was generated from the following file:


Copyright © 1997-2005 Macromedia, Inc. All rights reserved. Generated with AS2Doc