Skip to main content
January 17, 2007
Question

loading images externally and ramdomly

  • January 17, 2007
  • 3 replies
  • 425 views
I'm having some difficulties here. I have two swf's, one controls the other---not the problem. On the one swf there are buttons and the other are images, you rollover a btn a different image pops up...you get the point. Now, on the swf with the images--I am trying to have the images load exteranlly, but also randomly. Is this possible?

Any suggestions would be greatly appreciated.
thanks,
hutch
This topic has been closed for replies.

3 replies

Participating Frequently
January 31, 2007
create the XML then look into the XML class in Flash
January 23, 2007
Ok, I got this all to work, but now I'm sitting on a problem --- my client will not be able to add or take out images dynamicly. So, I guess I need to incorporact XML.
I know .:}x-=V!P=-x{:. posted some XML script above but I'm not really sure how to incorporate that into flash, and create an array from it.
Please help this poor soul!!!
thanks.
Participating Frequently
January 17, 2007
Yes possible, put the images in a folder then the names in a XML. Have flash load the XML and put the names into an array and then generate a random number to access the array and then load the random image
January 17, 2007
Could you by chance give me an example. I'm not to great with the whole XML thing.
again, it's so much appreciated.
hutch
Participating Frequently
January 17, 2007
heres an example of a xml with 3 images