Create Loop to Keep Checking
Now select the second blank keyframe and this action:
Go to and Play (preloadScene, 1) // keep looping in current scene to first keyframe until movie has loaded
Now create a movie clip an have it run in the first frame. This is an extremely simple one, good for movies that only take a short time to load. If you have a monster be imaginative a add some extra text or animation to entertain your visitor while they wait.
There you have it! Basic Preloaders in a nut shell. When you finish, test your preloader by selecting control Menu > Test Movie as well as Control Menu > Show Streaming.
"Don't finish the tutorial yet!! I want to know how to make a bar preloader in Flash". If you're pounding on the keyboard in frustration and want to know now, have a look at the preloader below for a tantaliser then check out our tutorial on Bar Preloaders.
Good luck and Happy Flashing!
|» Level Intermediate|
Rating: 8 Votes: 460
|Eddie is the Content Editor at Flashkit.com|
|Download the files used in this tutorial.|
|Download (35 kb)|
|More help? Search our boards for quick answers!|