Text.orientation; Text.renderashtml - 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

Example
The following example sets the value of the
fl.getDocumentDOM().selection[0].maxCharacters = 30;

text.orientation

Availability
Flash MX 2004.
Usage
text.orientation
Description
Property; a string that specifies the orientation of the text field. Acceptable values are
,
"horizontal"
This property works only with static text; it generates a warning if used with other text types.
Example
The following example sets the orientation property to
fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].orientation
= "vertical right to left";

text.renderAsHTML

Availability
Flash MX 2004.
Usage
text.renderAsHTML
Description
Property; a Boolean value. If the value is
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
fl.getDocumentDOM().selection[0].renderAsHTML = true;
314
Chapter 3: Objects
"vertical left to right"
renderAsHTML
property to
maxCharacters
, and
"vertical right to left"
"vertical right to left"
, Flash draws the text as HTML and interprets
true
property to
true
:
30
.
:
:

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?

Questions and answers

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents