Ha - thanks for catching the typo. I should mention that this is just the way 
to grab the percent loaded...by no means will you get a smooth animation (the 
100 frame loading sequence) out of this.


-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Troy Rollins
Sent: Sun 12/11/2005 9:53 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] How do I tell a movieclip to play insync 
withtheloading percentage.
 

On Dec 11, 2005, at 9:48 PM, Howard Nager wrote:

> var percentage = (_root.getBytesLoaded()/root.getBytesTotal()) * 100;

Right, and that is the other way.

Watch that second "_root" though. (e.g. _root.getBytesTotal())

--
Troy
RPSystems, Ltd.
http://www.rpsystems.net

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to