Featured FLA
» Author: Nitin Tikhe
» Title: Cart
» Description: This Animation Tut is a fun and useful for kids below 15 years. Watch the Flag, Doors, Stick and Horse movements.
» More by Nitin Tikhe
Featured Site
» Posted in the Flash Kit Links section
» Title: Banana Swimwear
» Description: This is a banana swim wear interactive catalog we designed and animated in Flash
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.
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.