Package | com.ghostwire.ui.events |
Class | public class uiScrollEvent |
Inheritance | uiScrollEvent ![]() |
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
Property | Defined by | ||
---|---|---|---|
oldScrollX : Number
Stores the previous
scrollX value of the component. | uiScrollEvent | ||
oldScrollY : Number
Stores the previous
scrollY value of the component. | uiScrollEvent |
Method | Defined by | ||
---|---|---|---|
uiScrollEvent(oldX:Number, oldY:Number)
Creates a new
uiScrollEvent object with the specified oldX and
oldY parameters. | uiScrollEvent |
Constant | Defined by | ||
---|---|---|---|
SCROLL : String = "scroll" [static]
Dispatched when the scroll position of a scrollable component has changed.
| uiScrollEvent |
oldScrollX | property |
public var oldScrollX:Number
Stores the previous scrollX
value of the component.
oldScrollY | property |
public var oldScrollY:Number
Stores the previous scrollY
value of the component.
uiScrollEvent | () | constructor |
public function uiScrollEvent(oldX:Number, oldY:Number)
Creates a new uiScrollEvent
object with the specified oldX
and
oldY
parameters.
oldX:Number — The previous x coordinate of the component.
|
|
oldY:Number — The previous y coordinate of the component.
|
SCROLL | constant |
public static const SCROLL:String = "scroll"
Dispatched when the scroll position of a scrollable component has changed.
This event has the following properties:
Property | Value |
---|---|
bubbles | false |
cancelable | false ; there is no default behavior to cancel. |
currentTarget | The object that is actively processing the event object with an event listener. |
target | The 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. |
oldScrollX | A number indicating the old value of the scrollX property. |
oldScrollY | A number indicating the old value of the scrollY property. |