Text object
315
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. 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].selectable =
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
.
Summary of Contents for FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY
Page 1: ...Flash JavaScript Dictionary ...
Page 16: ...16 Contents ...
Page 40: ...40 Chapter 2 Top level functions ...
Page 368: ...368 Chapter 3 Objects ...