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

Below is the script for the preloader-

stop(); download :

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 :

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


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

Category download :


Standard YouTube License

Leave a Reply

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