Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
A TextFlow instance dispatches this each time it is marked as damaged. Damage can be caused by changes to the model or changes to the layout.
damageAbsoluteStart:int
[read-only]
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
Absolute start of the damage
Implementation public function get damageAbsoluteStart():int
damageLength:int
[read-only]
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
Length of the damage
Implementation public function get damageLength():int
textFlow:TextFlow
[read-only]
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
TextFlow owning the damage
Implementation public function get textFlow():TextFlow
public function DamageEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, textFlow:TextFlow = null, damageAbsoluteStart:int = 0, damageLength:int = 0)
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
Constructor
Parameters | type:String — text index of the start of the damage
|
|
| bubbles:Boolean (default = false ) — length of text that was damaged
|
|
| cancelable:Boolean (default = false )
|
|
| textFlow:TextFlow (default = null )
|
|
| damageAbsoluteStart:int (default = 0 )
|
|
| damageLength:int (default = 0 )
|
public static const DAMAGE:String = damage
Event type for DamageEvent
Wed Mar 25 2015, 07:57 PM +01:00