|
|
The basics of an actionscript preloaderIn this Macromedia Flash tutorial you will see how easy it is to make a flash preloader. In this preloader we will do a very basic animation while loading, but it can easily be turned into a more advanced preloader. 1. Now start by making an animation from frame 1 to frame 11 as I did below. 2. 3. First of we need to save some information in some variables, total_bytes should contain the correct file size in KB total_bytes = getBytesTotal(300) //write in the correct file size Now we will make an if condition, that says if total byes - bytes loaded is more then 0 then keep on loading, else go to next frame, so we can start our application/flash movie. if ((total_bytes - bytes_loaded)>0) { And we are done.
|





