
TextField._yscale Property
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
Alphabetical Language Reference
|
885
See Also
MovieClip.globalToLocal(), MovieClip.localToGlobal(), TextField._x
TextField._ymouse Property
vertical location of mouse pointer, relative to the text field
Flash 6
read-only
theField._ymouse
Description
The floating-point _ymouse property indicates the vertical location of the mouse pointer’s
hotspot, relative to the top border of
theField. To obtain a consistent _ymouse coordinate
that is always measured relative to the Stage, use
_root._ymouse instead.
See Also
MovieClip._ymouse, TextField._xmouse
TextField._yscale Property
height of a text field, as a percentage
Flash 6
read/write
theField._yscale
Description
The floating-point _yscale property specifies the height of theField’s bounding box rela-
tive to its original height, expressed as a percentage. The original height is either the height
of the field at authoring time or the height most recently specified via either MovieClip.
createTextField() or
_height.
When the current height of
theField is the same as its original height, _yscale is 100. A
_yscale of 200 doubles theField’s height relative to its original height. A _yscale of 50
halves
theField’s height relative to its original height. Changes to _yscale are reflected by
_height.
The size of text in the field is also ...