Packagecom.ghostwire.ui.events
Classpublic class uiScrollEvent
InheritanceuiScrollEvent Inheritance flash.events.Event

The uiScrollEvent class defines the "scroll" event that is dispatched when a scrollable area is scrolled.

~ This class is available in Aspire UI Components Lite Edition ~

See also

com.ghostwire.ui.core.uiScrollable.setScrollPosition()


Public Properties
 PropertyDefined by
  oldScrollX : Number
Stores the previous scrollX value of the component.
uiScrollEvent
  oldScrollY : Number
Stores the previous scrollY value of the component.
uiScrollEvent
Public Methods
 MethodDefined by
  
uiScrollEvent(oldX:Number, oldY:Number)
Creates a new uiScrollEvent object with the specified oldX and oldY parameters.
uiScrollEvent
Public Constants
 ConstantDefined by
  SCROLL : String = "scroll"
[static] Dispatched when the scroll position of a scrollable component has changed.
uiScrollEvent
Property detail
oldScrollXproperty
public var oldScrollX:Number

Stores the previous scrollX value of the component.

oldScrollYproperty 
public var oldScrollY:Number

Stores the previous scrollY value of the component.

Constructor detail
uiScrollEvent()constructor
public function uiScrollEvent(oldX:Number, oldY:Number)

Creates a new uiScrollEvent object with the specified oldX and oldY parameters.

Parameters
oldX:Number — The previous x coordinate of the component.
 
oldY:Number — The previous y coordinate of the component.
Constant detail
SCROLLconstant
public static const SCROLL:String = "scroll"

Dispatched when the scroll position of a scrollable component has changed.

This event has the following properties:

PropertyValue
bubblesfalse
cancelablefalse; there is no default behavior to cancel.
currentTargetThe object that is actively processing the event object with an event listener.
targetThe object that dispatched the event. The target is not always the object listening for the event. Use the currentTarget property to access the object that is listening for the event.
oldScrollXA number indicating the old value of the scrollX property.
oldScrollYA number indicating the old value of the scrollY property.