Y (Textfield._Y Property); Ymouse (Textfield._Ymouse Property) - MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE Reference

Flash lite 2.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

my_txt.text = "Sample text goes here.";
scaleUp_btn.onRelease = function() {
my_txt._xscale = 2;
my_txt._yscale = 2;
}
scaleDown_btn.onRelease = function() {
my_txt._xscale /= 2;
my_txt._yscale /= 2;
}
See also
_x (TextField._x property)
(TextField._yscale property)

_y (TextField._y property)

public _y :
Number
The y coordinate of a text field relative to the local coordinates of the parent movie clip. If a
text field is in 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 another 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 field's coordinates refer to the registration
point position.
Availability: ActionScript 1.0; Flash Lite 2.0
Example
See the example for
TextField._x
See also
_x (TextField._x property)
(TextField._yscale property)

_ymouse (TextField._ymouse property)

public _ymouse :
Indicates the y coordinate of the mouse position relative to the text field.
Note: This property is supported in Flash Lite only if
or
true
System.capabilities.hasStylus
694
ActionScript classes
,
_y (TextField._y property)
.
,
_xscale (TextField._xscale property)
Number
[read-only]
System.capabilities.hasMouse
is
.
true
,
_yscale
,
_yscale
is

Advertisement

Table of Contents
loading

Table of Contents