
TextField._xscale Property
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
Alphabetical Language Reference
|
883
See Also
MovieClip.globalToLocal(), MovieClip.localToGlobal(), TextField._y
TextField._xmouse Property
horizontal location of mouse pointer, relative to the text field
Flash 6
read-only
theField._xmouse
Description
The floating-point _xmouse property indicates the horizontal location of the mouse
pointer’s hotspot, relative to the left border of
theField. To obtain a consistent _xmouse
coordinate that is always measured relative to the Stage, use _root._xmouse instead.
See Also
MovieClip._xmouse, TextField._ymouse
TextField._xscale Property
width of a text field, as a percentage of original
Flash 6
read/write
theField._xscale
Description
The floating-point _xscale property specifies the width of theField’s bounding box, rela-
tive to its original width, expressed as a percentage. The original width is either the width
of the field at authoring time or the width most recently specified (via either MovieClip.
createTextField() or
_width). Text in the field is scaled only if embedFonts is true; otherwise,
it is not affected by
_xscale. This contrasts with _yscale, which always affects theField’s
text scale. Note that scaling text horizontally but not vertically stretches it disproportion-
ately. Use a TextFormat object for precise control ...