MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 454

Extending flash
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents