Search tutorials
The Actionscript
In this example, I spaced each check with 5 frames. So my timeline looked something like this...
As I mentioned before the first action checks if the next interval has been loaded, if it has, then it jumps the bar along an interval. Let's assume that we're looking at 3 Bar Positions, 25 percent, 37.5 percent, and 50 percent loaded. The code should look like this:
If Frame Is Loaded (movie scene, 400)
// If frame 400 of the movie scene is loaded (ie 37.5 percent has loaded)
Go to and Play (20)
// go and play frame 20 in the preloader scene (ie move the bar to 37.5 percent position)
End Frame Loaded
The second action keeps looping back to the checking statement. ie:
Go to and Play (15) // Keep the bar on 25 percent position (frame 15)
| » Level Intermediate |
|
Added: 2000-03-09 Rating: 8 Votes: 379 |
| » Author |
| Eddie was a Content Editor at Flashkit.com |
| » Download |
| Download the files used in this tutorial. |
| Download (27 kb) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


Comments
There are no comments yet. Be the first to comment!