TextFormat class 715
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
, TextField._xscale, TextField._y
TextFormat class
Availability
Flash Player 6.
Description
The TextFormat class represents character formatting information.
You must use the constructor
new TextFormat() to create a TextFormat object before calling
its methods.
You can set TextFormat parameters to
null to indicate that they are undefined. When you apply
a TextFormat object to a text field using
TextField.setTextFormat(), only its defined
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 bold property to a defined value.