public var delta:Number
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
The change in the scroll position value that resulted from
the scroll. The value is expressed in pixels. A positive value indicates the
scroll was down or to the right. A negative value indicates the scroll
was up or to the left.
public var direction:String
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
The direction of motion.
The possible values are ScrollEventDirection.VERTICAL
or ScrollEventDirection.HORIZONTAL
.
See also
public function ScrollEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, direction:String = null, delta:Number)
Constructor.
Scroll events are dispatched when a container has scrolled.
Parameters | type:String — The event type; indicates the action that caused the event.
|
|
| bubbles:Boolean (default = false ) — Specifies whether the event can bubble
up the display list hierarchy.
|
|
| cancelable:Boolean (default = false ) — Specifies whether the behavior associated with the event
can be prevented.
|
|
| direction:String (default = null ) — The change in scroll position, expressed in pixels.
|
|
| delta:Number (default = NaN )
|