Text.scrollable, Text.selectable, Text.selectionend – Adobe Extending Flash Professional CS5 User Manual
Page 467
445
EXTENDING FLASH PROFESSIONAL
Text object
Last updated 5/2/2011
text.scrollable
Availability
Flash MX 2004.
Usage
text.scrollable
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. Flash generates a warning when this property is set to
false
and used with input text.
Example
The following example sets the
selectable
property to
true
:
fl.getDocumentDOM().selection[0].selectable = true;
text.selectionEnd
Availability
Flash MX 2004.
Usage
text.selectionEnd