loop
Syntax |
SetIconProperty(@" IconTitle", #loop, boolean)
SetSpriteProperty(@"IconTitle", #loop, boolean) |
Type |
Icon property, sprite property |
Description |
This property controls whether a Flash movie sprite plays in a continuous loop or plays once and then stops. The loop property can have these values:
 |
TRUE When the last frame plays, start again at the first frame. |
 |
FALSE Stop when the last frame plays. |
You can get and set the loop property. |
Example |
This routine sets the Flash sprite to loop continuously based on the checked state of an Authorware button.
If Checked@"Continuous Play" then
SetSpriteProperty(@"Flash Icon", #loop, True)
else
SetSpriteProperty(@"Flash Icon", #loop, False)
end if
|