Tutorials Home
What's New
Top Rated
Submit
myTutes
Random!
Create A Communicative Preloader
Author: Purnawijaya Citra and Mimi Widjaja
| Website: www.theenlightment.net |
Creating Preloader (Cont.)
Now we move to the action layer. It's time to make the loading process run by adding some action scripts. At first keyframe put the action:
total = _root.getBytesTotal();
loaded = _root.getBytesLoaded();
if (loaded>=total) {
_root.gotoAndPlay(30)
}
Go to keyframe 23, add action as follows:
_root.text.nextFrame();
At keyframe 24 (last keyframe) add action:
gotoAndPlay(1);
Action Analysis
Action at the first keyframe tells the preloader to check if the last frame of movie has loaded, and if it's loaded then play the movie.
Action at the last keyframe (24) allows to keep looping in preloader scene to the first keyframe until movie has loaded.
Action at keyframe 23 tells the dynamic text to display the next message. This dynamic text will be explained more later.
| » Level Intermediate |
|
|
Added: : 2002-10-07
Rating: 8.38 Votes: 136
Hits: 6790
|
| » Author |
|
Purnawijaya Citra is a flash developer, spend most of his time for flash development. Proficient handling multimedia projects using Flash and PHP.
Experience some years in teaching flash, graphic and multimedia design.
Mimi Widjaja is basically an agronomist who has strong interest in flash and web/ multimedia design. Having experience working in graphic design for agricultural products. Fond of flashing, writing and travelling.
|
| » Download |
|
Download the files used in this tutorial.
|
|
Download (411 kb)
|
|
Get conversion and unzipping tools
for PC and Mac here!
|
| » Forums |
|
More help? Search our boards for quick answers!
|
|
Please rate this tutorial, 10 is the top rating, you can also click the
comments link to read/write a review.
|
|
|