Revision: 53426
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at November 23, 2011 02:58 by happytogetherannie
Initial Code
stop(); 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; lbar.scaleX = loaded/total; loader_txt.text = Math.floor((loaded/total)*100)+ "%"; if (total == loaded){ gotoAndPlay(2); this.removeEventListener(Event.ENTER_FRAME, loading); } }
Initial URL
Initial Description
can solve the IE reload problem
Initial Title
flash preloader for AS3
Initial Tags
Initial Language
ActionScript 3