>>No, it doesn't help, since the first index is out of range :)

What do you mean?  There's nothing wrong with the way they wrote that either - 
this works for me:

myArray = [1,1,1,1,1,1,1,1];

for(var i=myArray.length; i>=0; i--){
    trace(i)
}

I don't think they meant the word "Array" literally...

Jason Merrill
Bank of America 
Learning & Organizational Effectiveness
 
 
 
 
 

>>-----Original Message-----
>>From: [EMAIL PROTECTED] [mailto:flashcoders-
>>[EMAIL PROTECTED] On Behalf Of Rákos Attila
>>Sent: Friday, December 01, 2006 2:48 PM
>>To: Flashcoders mailing list
>>Subject: Re[2]: [Flashcoders] xml thumbnail gallery reverse order problem
>>
>>
>>MG> Does this help?
>>MG>
>>MG>  for(var i=Array.length; i>=0; i--){
>>MG>    //loop backwards
>>MG>   }
>>
>>No, it doesn't help, since the first index is out of range :)
>>
>>_______________________________________________
>>[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

Reply via email to