![]() |
![]() ![]() |
Inheritance Movie Clip > WavingFlag (see flash help for documentation on parent classes).
ActionScript Class Name flextnet.components.WavingFlag
Each component class has a version property, which is a class property. Class properties are available only on the class itself. The version property returns a string that indicates the version of the component. To access this property, use the following code:
trace(flextnet.components.WavingFlag.version);
Note: The code trace(myFlag.version); returns undefined.
None.
These are the properties of the WavingFlag class:
| Property | Description |
|---|---|
billow |
Specifies how flag cloth should 'billow'. Can be 'flat', 'deep', or 'noisy'. |
colorOffset |
Color offset value in the ColorMatrixFilter applied to the flag bitmap. |
colorScale |
Color scale vaule in the ColorMatrixFilter applied to the flag bitmap. |
flagImage |
Relative or absolute path to an image file. |
flagLinkageId |
The linkage identifier of the movie clip in the library to be used as the flag. |
isPaused |
Set to true to pause the flag waving motion. |
livePreview |
Only valid on the stage in authortime. Set to true to view a 'real' preview of the flag. |
rotation |
Rotation in degrees of the waving flag. |
shadows |
A percentage value (0-100) specifying the darkness of flag shadows. |
windSpeed |
A percentage value indicating wind speed (-100 - 100) (can be negative). |
![]() ![]() |
|