| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
A TextLayoutEvent instance represents an event, such as the
TextLayoutEvent.SCROLL event, that does not require
custom properties.
A scroll event is represented by a TextLayoutEvent instance with its
type property set to TextLayoutEvent.SCROLL.
A class specifically for scroll events is not necessary because there are
no custom properties for a scroll event, as there are for the other
events that have specific event classes.
If a new text layout event is needed, and the event does not require
custom properties, the new event will also be represented by a
TextLayoutEvent object, but with its type property
set to a new static constant.
public function TextLayoutEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
The TextLayoutEvent class represents the event object passed to
the event listener for many Text Layout events.
Parameters | type:String |
| |
| bubbles:Boolean (default = false) |
| |
| cancelable:Boolean (default = false) |
public static const SCROLL:String = scroll| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 10, AIR 1.5 |
The TextLayoutEvent.SCROLL constant defines the value of the
type property of the event object for a scroll event.
Mon Dec 24 2012, 01:18 PM +11:00