>>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 this:

        for(var i=0; i<Array.length; i++){
        }

Will go through "forward" through the array.  However, a loop like this:

        for(var i in Array){
        }

Will do the exact same thing, only backwards through the array.  Take
this for example - paste this into a frame script and run it:

        myArray = [2,43,200,4776,0,68];

        for(var i=0; i<myArray.length; i++){
                trace("position: "+i+" value: "+myArray[i])
        }

        trace("==============")

        for(var i in myArray){
                trace("position: "+i+" value: "+myArray[i])
        }

Note in your code where you are calling this:  function thumbnails_fn(k)
- At a quick glance I could finds the function definition, but not where
you called it from - I'm lazy - you posted a lot of code to mull over.
But I suspect the value of k is going down, not up - check into the way
you are calling it.  

>>for some reason flash does things in reverse order 

Flash only does what you tell it to do. :)  

Hope that's useful to you.

Jason Merrill
Bank of America 
Learning & Organizational Effectiveness
 
 
 
_______________________________________________
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

Reply via email to