Search tutorials
Frame 3:
Comment: ---------------------------------------- Comment: Loop back to (2) until loaded Comment: ---------------------------------------- Go to and Play (2)
Frame 4:
Comment: ----------------------------------------
Comment: Display time and percentage loaded
Comment: and grow the bar to reflect the value
Comment: ----------------------------------------
Set Variable: "time_by_show" = Int(GetTimer / 1000)&" seconds"
Set Variable: "percentloaded1" = Int ((100 / _totalframes )* _framesloaded)
Set Variable: "percentloaded" = percentloaded1&" % loaded"
Begin Tell Target ("/loader")
Go to and Stop (_level0:percentloaded1)
End Tell Target
Set Variable: "bytes_loaded" = ""
Set Variable: "y" = 1
Loop While (y <= _framesloaded)
Set Variable: "bytes_loaded" = bytes_loaded + eval("_level0:"&y)
Set Variable: "y" = y + 1
End Loop
Set Variable: "bytes_loaded_show" = bytes_loaded&" bytes loaded"
Comment: ----------------------------------------
Comment: If loaded the play (6)
Comment: ----------------------------------------
If Frame Is Loaded (_totalframes)
Go to and Stop (6)
End Frame Loaded
Frame 5:
Comment: ---------------------------------------- Comment: Loop until movie is loaded Comment: ---------------------------------------- Go to and Play (4)
Frame 6:
Comment: ---------------------------------------- Comment: Play the movie Comment: ---------------------------------------- Play
So there you go. Once this is all together place an animation on the animation layer and bob's your uncle (australian slang for "its ready to go"). Good luck and Happy flashing.
| » Level Advanced |
|
Added: 2000-06-27 Rating: 7 Votes: 586 |
| » Author |
| -- |
| » Download |
| Download the files used in this tutorial. |
| Download (45 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!