ActionScript 3.0 is done this way and have done so, but do not like
depending on who are all loaded away3D objects, and situated in a
package.

can someone help me please. thanks


stop();

addEventListener(Event.ENTER_FRAME,preloader);

function preloader(event:Event):void{
        var toLoad:Number=loaderInfo.bytesTotal;
        var loaded:Number=loaderInfo.bytesLoaded;
        var total:Number=loaded/toLoad;
        if(loaded==toLoad){
                removeEventListener(Event.ENTER_FRAME,preloader);
                gotoAndStop(2);
        }else{
                preloader_mc.preloaderFill_mc.scaleX=total;
                preloader_mc.porcentaje_txt.text=Math.floor(total*100)+"%";
                preloader_mc.ofBytes_txt.text=loaded+"bytes";
                preloader_mc.totalBytes_txt.text=toLoad+"bytes";
        }
}

To unsubscribe from this group, send email to 
away3d-dev+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to