Ok - then this: myArray = [2,3,4,5,6,7,8];
for(var i=myArray.length-1; i>=0; i--){ trace(myArray[i]) } 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 3:41 PM >>To: Flashcoders mailing list >>Subject: Re[4]: [Flashcoders] xml thumbnail gallery reverse order problem >> >> >>write trace(myArray[i]) instead of trace(i) >> >>MJ> What do you mean? There's nothing wrong with the way they wrote that >>either - this works for me: >>MJ> >>MJ> myArray = [1,1,1,1,1,1,1,1]; >>MJ> >>MJ> for(var i=myArray.length; i>=0; i--){ >>MJ> trace(i) >>MJ> } >>MJ> >>MJ> I don't think they meant the word "Array" literally >> >> >>_______________________________________________ >>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 _______________________________________________ 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