textWidth vs. _width

Some simple test seems to reveal that “textWidth/textHeight” is closer to my straightforward understanding of how wide/high a textfield is. (“_width/height” seems to be the dimension of the “movieclip” boundary of the textfield, which is defined when calling createTextField() .) In short, “textHeight/textWidth” will be smaller than “_width/_height”.

Also, “textHeight/textWidth” is not affected by “autoSize” attribute.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: