stop();
function checkLoad()
{
   var c = mc.getBytesLoaded();
   var t = mc.getBytesTotal();
   var p = (c / t) * 100;
   MC_LoaderBar._xscale = p;
   TXT_Load.text = Math.floor(p + "%");
   if (p == 100 && t > 4) {
      delete this.onEnterFrame;
      mc.gotoAndPlay("main");
   }
}
this.onEnterFrame = checkLoad;


Doesn't get much simpler.
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to