Textformat Class - MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT Reference Manual

Actionscript reference guide
Hide thumbs Also See for FLASH MX 2004 - ACTIONSCRIPT:
Table of Contents

Advertisement

TextField._ymouse
Availability
Flash Player 6.
Usage
my_txt._ymouse
Description
Property (read-only); indicates the y coordinate of the mouse position relative to the text field.
See also
TextField._xmouse
TextField._yscale
Availability
Flash Player 6.
Usage
my_txt._yscale
Description
Property; the vertical scale of the text field as applied from the registration point of the text field,
expressed as a percentage. The default registration point is (0,0).
See also
,
TextField._x

TextFormat class

Availability
Flash Player 6.
Description
The TextFormat class represents character formatting information.
You must use the constructor
its methods.
You can set TextFormat parameters to
a TextFormat object to a text field using
properties are applied, as in the following example:
my_fmt = new TextFormat();
my_fmt.bold = true;
my_txt.setTextFormat(my_fmt);
This code first creates an empty TextFormat object with all of its properties undefined, then sets
the
property to a defined value.
bold
,
TextField._xscale
new TextFormat()
TextField._y
to create a TextFormat object before calling
to indicate that they are undefined. When you apply
null
TextField.setTextFormat()
, only its defined
TextFormat class
715

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Table of Contents