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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pre-loading a movie 1

Status
Not open for further replies.

dartali

Technical User
May 27, 2001
19
0
0
MX
Can somebody give me step by step instructions how to add a pre-loading command for a movie?

Thanks!

 
Check the FAQ section... Several there!
Use the Search (which is back!)and type preloader, several threads in the past.

;-)
 
on the first keyframe in your clip, normally on a layer named actions put this:
ifFrameLoaded (700) {
gotoAndPlay (1);
}
This says"hey if the frame 700 of the current scene or name of the scene is loaded then goto and play frame 1 of this scene. look below to tell the MC how to loop until the frame 700 of the scene has loaded.

On the second keyframe of the actions layer put this:gotoAndPlay (1);
This will keep looping the scene your attempting to load until it has, then it will play for you. You can be creative by giving the user some notification in the form of some text that says"Loading...." to indicate to them something is gooing to happen once they wait. Hope this helps,

Rich


 
hi Rich

You're method does not work if the actions are placed within an mc, as you mention ('clip'). Nor would they work on the maintimeline as they would loop endlessly on frame1.

dave
dave@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^​
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top