![]() |
![]() ![]() |
WavingFlag component version 1.0
flagInstance.flagLinkageId
About the WavingFlag component.
Back to product page.
Property; A MovieClip linkage identifier (String) to be used as the flag image. The default is a placeholder movie clip. To make a clip useable as a flag, right click on the clip name in the library and choose 'Linkage...'. When the 'Linkage Properties' dialog comes, up check the 'Export for ActionScript' button. The name in the 'Identifier' field is the name you should enter as a text string in the flagLinkageId property.
Only the first frame of the chosen movie clip is ever displayed by the flag.
The following code tells the flag to use the movie clip with linkage id 'brazil' from the library:
myFlag.flagLinkageId = "brazil";
![]() ![]() |
|