Table of Contents

Button._rotation Property Flash 6

rotation, in degrees, of a button read/write
theButton._rotation

Description

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.

Example

The following code rotates a button when the button is clicked:

fun_btn.onRelease = function () {
  this._rotation += 10;
}

See Also

Button.onRelease( ), MovieClip._rotation


Table of Contents