Oops!
var i:Number = elements.length;
while (i--)
{
elements[i].animation.update();
}
Steven Sacks wrote:
Decrementing is faster than incrementing.
var i:Number = elements.length;
while (--i)
{
elements[i].animation.update();
}
_______________________________________________
[email protected]
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