First time here? First time here? Newsletter Signup Newsletter
Login | Register | 651326 Members and growing!
Search tutorials
Author: Anthony_KiD | Website: http://akassp.com/

First, the if statement tests to see that the variable loadpercent is at 100, which would mean it is fully loaded. It says if the variable doesn't equal 100, then use the setProperty(); function.

These are the parameters of the setProperty(); funtion:
setProperty(target, property, value);

First, target. This tells the function what clip to target, and assign the follow property to. Next, property. This is the property of the specific clip to set. In this case, _xscale. And Last, value. This is the value of the property being assigned. In this case, it was loadpercent.

Now, if the if statement returns true, then the setProperty(); function is used to show how much of the movie is loaded through a bar movieclip. If the statement returns false, and the movie is...
And this stops the movie on the frame (because the movie is completely loaded).

This about sums it up! Basically, using actionscript, we test to see if the movie is loaded, and change the size of the bar if it isn't, and go to the nextframe if it is!

I hope this tutorial helped you a great deal! Hopefully, in the future, I will write more tutorials! But I haven't much time to do so, what with sports and school...

I'm only 13 years old!! Lol..anyway, if you have any questions, feel free to email me at antsam@akassp.com, or, reach me on AIM (Aol Instant Messenger) at: MasnaX ! I'll be glad to help in anyway that I can! Thank you for reading!! Hope I've helped you!

» Level Basic

Added: 2004-06-01
Rating: 5 Votes: 55
(10 being the highest)
» Author
Hope this helped you! I'm coming out with another tutorial soon! So be looking forward to it! P.S. On the .zip file of the loader bar, the actionscripting is more advanced and altered. (I did this to helpe people get a grasp of what the actionscripting actually does)/
» Download
Download the files used in this tutorial.
» Forums
More help? Search our boards for quick answers!


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

  • You must have javascript enabled in order to post comments.

Leave a Comment
  • Your email address will not be published. All fields are required.
Featured Flash FLA
» Author: Inocreato
» Title: RaiseTheBlocks
» Description: Raise all the blocks to win the game
Featured Sound Loops
Image for equalize

Audio Player

» Author: TomCat Carty
» Title: The Wood
» Description: Just a little game ending or it can maybe be looped. Recorders with music box and percussion to give the feel of well, I don't know, the woods? Free to use, just credit me. thank you
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: Davisigner
» Description: Hmm... what to say about this one? It's reminiscent of the closing notes of the opening music from the Three Stooges done in a church organ style with a closing cymbal crash. I'll give this one away gratis, but feel free to check out my free loops and potential upcoming license-mandated ones over in the respective part of Flashkit.