or like this
for ( var i:Number = myArray.length; --i; ) {
trace( myArray[ i - 1 ] );
}
On 12/1/06, Steven Sacks | BLITZ <[EMAIL PROTECTED]> wrote:
Yuck!
> for(var i=myArray.length-1; i>=0; i--){
> trace(myArray[i])
> }
Yum!
var i:Number = myArray.length;
while (i--) {
trace(i);
}
Zoom!
var i:Number = myArray.length;
while (--i -(-1)) {
trace(i);
}
_______________________________________________
[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
_______________________________________________
[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