Element.transformx, Element.transformy, Element.width – Adobe Extending Flash Professional CS5 User Manual
Page 219
197
EXTENDING FLASH PROFESSIONAL
Element object
Last updated 5/2/2011
element.transformX
Availability
Flash CS3 Professional.
Usage
element.transformX
Description
Property; a floating-point number that specifies the x value of the selected element’s transformation point, within the
coordinate system of the element's parent. Setting this property to a new value moves the element. By contrast, the
element.setTransformationPoint()
method moves the transformation point but does not move the element.
Example
See also
element.getTransformationPoint()
element.setTransformationPoint()
element.transformY
Availability
Flash CS3 Professional.
Usage
element.transformY
Description
Property; a floating-point number that specifies the y value of the selected element’s transformation point, within the
coordinate system of the element’s parent. Setting this property to a new value moves the element. By contrast, the
element.setTransformationPoint()
method moves the transformation point but does not move the element.
See also
element.getTransformationPoint()
element.setTransformationPoint()
element.width
Availability
Flash MX 2004.
Usage
element.width
Description
Property; a float value that specifies the width of the element in pixels.