tracisummers
08-08-2009, 02:56 AM
Hello,
I'm having a bit of a problem with an slideshow application and was hoping someone could help.
What I want to do is randomly select a file from an array. If the random array location also contains an array, pick a random location in this array and so on..
It will keep going until if finds a location that isn't an array and meets some other conditions.
I've drawn that out from what I'm actually doing but the logic is the same, although I can't figure that logic out for the life of me.
Any help appreciated.
I'm having a bit of a problem with an slideshow application and was hoping someone could help.
What I want to do is randomly select a file from an array. If the random array location also contains an array, pick a random location in this array and so on..
It will keep going until if finds a location that isn't an array and meets some other conditions.
I've drawn that out from what I'm actually doing but the logic is the same, although I can't figure that logic out for the life of me.
Any help appreciated.