Text.renderashtml, Text.scrollable, Text.selectable – Adobe Extending Flash Professional CS4 User Manual
Page 467

445
EXTENDING FLASH CS4 PROFESSIONAL
Text object
text.renderAsHTML
Availability
Flash MX 2004.
Usage
text.renderAsHTML
Description
Property; a Boolean value. If the value is
true
, Flash draws the text as HTML and interprets embedded HTML tags.
This property works only with dynamic or input text; it generates a warning if used with other text types.
Example
The following example sets the
renderAsHTML
property to
true
:
fl.getDocumentDOM().selection[0].renderAsHTML = true;
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.