| 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():intdamageLength: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():inttextFlow: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():TextFlowpublic 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 Nov 15 2017, 09:50 AM +01:00