WavingFlag.rotation

Availability

WavingFlag component version 1.0

Usage

flagInstance.rotation

Contents

About the WavingFlag component.
Back to product page.

Description

Property; An angle (in degrees) to rotate the waving flag. The rotation of the flag will not show up in live preview, but will be properly rotated when you export the movie. Use this property instead of the Flash 'Free transform tool' in order to get precise rotation.

See Special notes about applying rotation for more information.

Example

The following code rotates the flag 20 degrees.


myFlag.rotation = 20;