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)
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
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)
>>
>>
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
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
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
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
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
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
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
>>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
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
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
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.
14 matches
Mail list logo