![MACROMEDIA FLASH 8-EXTENDING FLASH Manual Download Page 454](http://html1.mh-extra.com/html/macromedia/flash-8-extending-flash/flash-8-extending-flash_manual_3348049454.webp)
454
Objects
Example
The following example stores the value of the
textRuns
property in the
myTextRuns
variable:
var myTextRuns = fl.getDocumentDOM().selection[0].textRuns;
text.textType
Availability
Flash MX 2004.
Usage
text.textType
Description
Property; a string that specifies the type of text field. Acceptable values are
"static"
,
"dynamic"
, and
"input"
.
Example
The following example sets the
textType
property to
"input"
:
fl.getDocumentDOM().selection[0].textType = "input";
text.useDeviceFonts
Availability
Flash MX 2004.
Usage
text.useDeviceFonts
Description
Property; a Boolean value. A value of
true
causes Flash to draw text using device fonts.
Example
The following example causes Flash to use device fonts when drawing text.
fl.getDocumentDOM().selection[0].useDeviceFonts = true;
Summary of Contents for FLASH 8-EXTENDING FLASH
Page 1: ...Extending Flash...
Page 38: ...38 Top Level Functions and Methods...
Page 532: ...532 Objects...
Page 554: ...554 C Level Extensibility...