Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VERY SIMPLE Loading loop (flash 4 only)

Useful Tips

VERY SIMPLE Loading loop (flash 4 only)

by  Gasbag  Posted    (Edited  )
Create a Layer called "Actions".
[color FF0000](Make that a habit. You don't have to do it, but it will be a mess if you don't.)[/color]
Next, create a keyframe where you want the movie to start looping: label it ! (e.g. "LoopStart") Then create the ending keyframe, And a keyframe that is called "StartMovie".
In the "Actions" layer, put this code in "LoopStart":
If Frame Is Loaded (_totalframes)
Go to and Play ("StartMovie")
End Frame Loaded


In the "Actions" layer, put this code in the end keyframe of the loop:
Go to and Play ("LoopStart")

Gasbag-->

Gasbag's Gas-of-the-Day:
www.xs4all.nl/~enpho/d-coy/Files/VooStab.swf
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top