Example
The following example stores the value of the
property in the
variable:
textRuns
myTextRuns
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"
, and
.
"dynamic"
"input"
Example
The following example sets the
property to
:
textType
"input"
fl.getDocumentDOM().selection[0].textType = "input";
text.useDeviceFonts
Availability
Flash MX 2004.
Usage
text.useDeviceFonts
Description
Property; a Boolean value. A value of
causes Flash to draw text using device fonts.
true
Example
The following example causes Flash to use device fonts when drawing text.
fl.getDocumentDOM().selection[0].useDeviceFonts = true;
454
Objects
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?