Language Version : | ActionScript 3.0 |
Product Version : | OSMF 1.0 |
Runtime Versions : | Flash Player 10, AIR 1.0 |
Represents formatting for a caption object.
endIndex:int
[read-only]
Language Version : | ActionScript 3.0 |
Product Version : | OSMF 1.0 |
Runtime Versions : | Flash Player 10, AIR 1.0 |
Get the end index supplied to the constructor.
Implementation public function get endIndex():int
startIndex:int
[read-only]
Language Version : | ActionScript 3.0 |
Product Version : | OSMF 1.0 |
Runtime Versions : | Flash Player 10, AIR 1.0 |
Get the start index supplied to the constructor.
Implementation public function get startIndex():int
style:CaptionStyle
[read-only]
Language Version : | ActionScript 3.0 |
Product Version : | OSMF 1.0 |
Runtime Versions : | Flash Player 10, AIR 1.0 |
Get the style object supplied to the constructor.
Implementation public function get style():CaptionStyle
public function CaptionFormat(style:CaptionStyle, start:int, end:int)
Language Version : | ActionScript 3.0 |
Product Version : | OSMF 1.0 |
Runtime Versions : | Flash Player 10, AIR 1.0 |
Creates a CaptionFormat object specifying the Style
object and the zero-based start and end indices of the range.
Parameters | style:CaptionStyle — The instance of CaptionStyle object to apply.
|
|
| start:int (default = NaN ) — The optional zero-based index position specifying
the first character of the desired range of text.
|
|
| end:int (default = NaN ) — The optional zero-based index position specifying the
last character of the desired range of text.
|
Throws | ArgumentError — If the style argument is null.
|
public static const UNDEFINED_INDEX:int = -1
Fri May 6 2016, 10:06 AM +05:30