View Single Post
Old 01-24-2003, 08:52 PM   PM User | #18
mouse
Regular Coder


 
Join Date: Jun 2002
Location: North East England
Posts: 853
Thanks: 0
Thanked 0 Times in 0 Posts
mouse is an unknown quantity at this point
Don't have aim I'm afraid, neither do I have Flash installed at the mo, jsut going off memory



Now, you'll need to preload the animation.

Here goes:

Insert two new key frames at the beginning of the movie before the animated section (ie move it all along a few frames if need be). Now insert the following actionscript into the first keyframe:
PHP Code:
ifframeloaded(68);      //--- 68 is an example only here, exchange it for the LAST frame in your movie
GoToAndPlay(3);         //--- this needs to be the first frame of the animated section of the movie 
And this in the second keyframe:
PHP Code:
GoToAndPlay(1);     //this loops the movie back IF the final frame as specified in keyframe one has NOT loaded 
You may wish to insert a "loading" graphic in these first two frames too so the user knows what's happening.
__________________
[+] Computer/PC issues [+] Silverpaw3D
------------------------------------------------
Never buy a dwarf with learning disabilities...

...it's not big, and it's not clever.
mouse is offline   Reply With Quote