PDA

View Full Version : Loading multiple images with xml



lope
April 10th, 2009, 07:53 AM
Has anybody got the code (without use of classes) which loads multiple images (thumbs) through xml, in one by one fashion (loads one and proceeds with loading the next one), with each image having its own preloader?

I know I am asking for a lot but what can I do :D

JonnyR
April 10th, 2009, 11:54 AM
Hey Lope, The Loader Class (http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Loader.html) can perform the loading of both the XML and images for you. Once you have loaded the XML file you will be able to use the XML Class (http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/XML.html) to parse and extract the location of the thumbnail images. If you need more help, you can check out some of the Slideshow tutorials on Kirupa.com.

Good Luck!
Jonny.