Text.textruns; Text.texttype; Text.usedevicefonts - MACROMEDIA FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY Manual

Flash javascript dictionary
Hide thumbs Also See for FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY:
Table of Contents

Advertisement

text.textRuns

Availability
Flash MX 2004.
Usage
text.textRuns
Description
Read-only property; an array of TextRun objects (see
Example
The following example stores the value of the
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
and
.
"input"
Example
The following example sets the
fl.getDocumentDOM().selection[0].textType = "input";

text.useDeviceFonts

Availability
Flash MX 2004.
Usage
text.useDeviceFonts
Description
Property; a Boolean value. A value of
This property works only with static text; it generates a warning if used with other text types.
Example
The following example causes Flash to use device fonts with static text.
fl.getDocumentDOM().selection[0].useDeviceFonts = true;
320
Chapter 3: Objects
textRuns
property to
textType
causes Flash to draw text using device fonts.
true
TextRun
object).
property in the
myTextRuns
"static"
:
"input"
variable:
,
,
"dynamic"

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents