Button._rotation Property | Flash 6 |
rotation, in degrees, of a button | read/write |
The floating-point _rotation property specifies the number of degrees theButton is rotated about its registration point. Both author-time and runtime adjustments are reflected in _rotation. See MovieClip._rotation for details on various positive and negative values for rotation, including values that are out of range.
The following code rotates a button when the button is clicked:
fun_btn.onRelease = function () { this._rotation += 10; }
Button.onRelease( ), MovieClip._rotation