View Full Version : Images not loading from XML into SWF

01-23-2007, 01:51 PM
So here is my situation:

I have index.html and then I have a folder "flash" that contains my swf, xml, and my images. When I load the swf inside index.html the swf loads, the variables in my xml load but the path to the images do not. If I take the images out of the flash folder and put them on the same level as index.html they work fine but I want to keep everything together.

Here is a sample of my xml:

<caption>Original Photo</caption>

Anyone have any ideas?

01-24-2007, 05:48 PM
The Flash is looking from the location of the HTML file, not the SWF file. Are you trying to load images/block1_image01.jpg ? You need to load flash/images/block1_image01.jpg