EasyManua.ls Logo

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT - Page 713

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT
816 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
TextField._x 713
Example
The following example sets the height and width properties of a text field:
my_txt._width=200;
my_txt._height=200;
See also
MovieClip._height
TextField.wordWrap
Availability
Flash Player 6.
Usage
my_txt.wordWrap
Description
Property; a Boolean value that indicates if the text field has word wrap. If the value of wordWrap is
true, the text field has word wrap; if the value is false, the text field does not have word wrap.
TextField._x
Availability
Flash Player 6.
Usage
my_txt._x
Description
Property; an integer that sets the x coordinate of a text field relative to the local coordinates of the
parent movie clip. If a text field is on the main Timeline, then its coordinate system refers to the
upper left corner of the Stage as (0, 0). If the text field is inside a movie clip that has
transformations, the text field is in the local coordinate system of the enclosing movie clip. Thus,
for a movie clip rotated 90 degrees counterclockwise, the enclosed text field inherits a coordinate
system that is rotated 90 degrees counterclockwise. The text fields coordinates refer to the
registration point position.
See also
TextField._xscale, TextField._y, TextField._yscale

Table of Contents

Related product manuals