![]() |
||||||||||||||||||||||||||||
| |
||||||||||||||||||||||||||||
|
Simple Preloader | 1 2 | continued: 4: In this step we're going to add an action to keep the "Loading" animation go in loop.
(We're going to use this keyframe to add an action).
5: Now we're going to add an action that keeps monitoring your content whether it has been loaded or not, if so, then go and play the scene. If not, then keep on showing the "Loading" animation.
Note: ifFrameLoaded ("scene", 30) that number is equivalent to the length of your content, if your content is 100 frames long, then you should place 100 there instead. Meaning, if the last frame of the content has been loaded, then gotoAndPlay the first frame of the content.
That's basically it!
To test your movie go to Control>Test Movie, then go to View>show streaming. For testing purposes, add some heavy
content to your scene, just to be able to see the loading process easily.
Conclusion: This flow chart should help you understand the looping process and the "if" condition, whether the scene has been loaded or not.
Thank you. Hope you enjoyed this tutorial. :)
|
Fig 4
Fig 5
|
|||||||||||||||||||||||||||
Download
*.FLA |
Not
clear enough? Check our forums.
We will be glad to help you out. |
|||||||||||||||||||||||||||
AEvision
Tutorials 2.1 - All rights reserved AEvision
Designs 2002-2007 |
||||||||||||||||||||||||||||
Icons
provided by iconpacks.com |
||||||||||||||||||||||||||||