User Guide

448 Objects
Description
Property; a Boolean value. If the value is true, the text can be scrolled.
This property works only with dynamic or input text; it generates a warning if used with
static text.
Example
The following example sets the scrollable property to false:
fl.getDocumentDOM().selection[0].scrollable = false;
text.selectable
Availability
Flash MX 2004.
Usage
text.selectable
Description
Property; a Boolean value. If the value is true, the text can be selected.
Input text is always selectable. It generates a warning when set to
false and used with input
text.
Example
The following example sets the selectable property to true:
fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].selectabl
e = true;
text.selectionEnd
Availability
Flash MX 2004.
Usage
text.selectionEnd
Description
Property; a zero-based integer that specifies the end of a text subselection. For more
information, see
text.selectionStart.