310
Chapter 12: ActionScript Dictionary
Button._xscale
Availability
Flash Player 6.
Usage
my_btn
._xscale
Description
Property; the horizontal scale of the button as applied from the registration point of the button,
expressed as a percentage. The default registration point is (0,0).
Scaling the local coordinate system affects the
_x
and
_y
property settings, which are defined in
pixels. For example, if the parent movie clip is scaled to 50%, setting the
_x
property moves an
object in the button by half the number of pixels as it would if the SWF file were at 100%.
See also
Button._x
,
Button._y
,
Button._yscale
Button._y
Availability
Flash Player 6.
Usage
my_btn
._y
Description
Property; the
y
coordinate of the button relative to the local coordinates of the parent movie clip.
If a button is in the main Timeline, its coordinate system refers to the upper left corner of the
Stage as (0, 0). If the button is inside another movie clip that has transformations, the button is in
the local coordinate system of the enclosing movie clip. Thus, for a movie clip rotated 90 degrees
counterclockwise, the enclosed button inherits a coordinate system that is rotated 90 degrees
counterclockwise. The button’s coordinates refer to the registration point position.
See also
Button._x
,
Button._xscale
,
Button._yscale
Содержание FLASH MX 2004 - ACTIONSCRIPT
Страница 1: ...ActionScript Reference Guide...
Страница 8: ...8 Contents...
Страница 12: ......
Страница 24: ...24 Chapter 1 What s New in Flash MX 2004 ActionScript...
Страница 54: ...54 Chapter 2 ActionScript Basics...
Страница 80: ...80 Chapter 3 Writing and Debugging Scripts...
Страница 82: ......
Страница 110: ...110 Chapter 5 Creating Interaction with ActionScript...
Страница 112: ......
Страница 120: ...120 Chapter 6 Using the Built In Classes...
Страница 176: ......
Страница 192: ...192 Chapter 10 Working with External Data...
Страница 202: ...202 Chapter 11 Working with External Media...
Страница 204: ......
Страница 782: ...782 Chapter 12 ActionScript Dictionary...
Страница 793: ...Other keys 793 221 222 Key Key code...
Страница 794: ...794 Appendix C Keyboard Keys and Key Code Values...
Страница 798: ...798 Appendix D Writing Scripts for Earlier Versions of Flash Player...
Страница 806: ...806 Appendix E Object Oriented Programming with ActionScript 1...
Страница 816: ...816 Index...