Re: Re[4]: [Flashcoders] xml thumbnail gallery reverse order problem

2006-12-02 Thread Wagner Amaral
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)

RE: Re[4]: [Flashcoders] xml thumbnail gallery reverse order problem

2006-12-01 Thread Steven Sacks | BLITZ
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); } ___ Flashcoders@chattyfig.figlea

RE: Re[4]: [Flashcoders] xml thumbnail gallery reverse order problem

2006-12-01 Thread Merrill, Jason
MAIL 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) >> >>

Re[4]: [Flashcoders] xml thumbnail gallery reverse order problem

2006-12-01 Thread R�kos Attila
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

RE: Re[2]: [Flashcoders] xml thumbnail gallery reverse order problem

2006-12-01 Thread Merrill, Jason
1, 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

RE: [Flashcoders] xml thumbnail gallery reverse order problem

2006-12-01 Thread Merrill, Jason
rom: [EMAIL PROTECTED] [mailto:flashcoders- >>[EMAIL PROTECTED] On Behalf Of Andrea Hendel >>Sent: Friday, December 01, 2006 2:31 PM >>To: flashcoders@chattyfig.figleaf.com >>Subject: RE: [Flashcoders] xml thumbnail gallery reverse order problem >> >>thanks fo

Re[2]: [Flashcoders] xml thumbnail gallery reverse order problem

2006-12-01 Thread R�kos Attila
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 :) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the arch

RE: [Flashcoders] xml thumbnail gallery reverse order problem

2006-12-01 Thread Andrea Hendel
thanks for all the suggestions, y'all, this is great! i tried reversing the order of my xml/array, but the image position in the array determines which large image is shown in the gallery. if i flip the array, the wrong images appear. i'm in the midst of trying a for loop (thanks, jason, for

Re: [Flashcoders] xml thumbnail gallery reverse order problem

2006-12-01 Thread Mick G
E: [Flashcoders] xml thumbnail gallery reverse order problem To: Flashcoders mailing list Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=us-ascii >>i'm kind of a noob, so there is probably a really simple solution i'm >>overlooking. i was thinking: how

RE: [Flashcoders] xml thumbnail gallery reverse order problem

2006-12-01 Thread Scott Morgan
n.com - Date: Fri, 01 Dec 2006 09:04:31 -0500 From: "Merrill, Jason" <[EMAIL PROTECTED]> Subject: RE: [Flashcoders] xml thumbnail gallery reverse order problem To: Flashcoders mailing list Message-ID: <[EMAIL PROTECTED]> Content-T

RE: [Flashcoders] xml thumbnail gallery reverse order problem

2006-12-01 Thread Merrill, Jason
>>i'm kind of a noob, so there is probably a really simple solution i'm >>overlooking. i was thinking: how would one reverse the order in which >>flash is processing/placing the thumbs? or maybe instead of using my >>script, there's some kind of for loop that might work? Note that a loop like

Re: [Flashcoders] xml thumbnail gallery reverse order problem

2006-11-30 Thread eric dolecki
load into an array and then array.reverse(); ? On 11/30/06, Andrea Hendel <[EMAIL PROTECTED]> wrote: hi y'all i tried to subscribe to the flash forums on kirupia and on actionscript.org, but for some reason i never receive the confirmation emails. i'm at my wit's end with this problem and i n

Re: [Flashcoders] xml thumbnail gallery reverse order problem

2006-11-30 Thread Andy Johnston
reverse the order of your xml?? hi y'all i tried to subscribe to the flash forums on kirupia and on actionscript.org, but for some reason i never receive the confirmation emails. i'm at my wit's end with this problem and i need help!!! there is an xml gallery w/thumbnail tutorial on kirupia

[Flashcoders] xml thumbnail gallery reverse order problem

2006-11-30 Thread Andrea Hendel
hi y'all i tried to subscribe to the flash forums on kirupia and on actionscript.org, but for some reason i never receive the confirmation emails. i'm at my wit's end with this problem and i need help!!! there is an xml gallery w/thumbnail tutorial on kirupia which i followed and altered.