XML photogallery

Hi I’ve just tried to ammend the photogallery tutorial using XML on Kirupa…

http://www.arkstudios.co.uk/eurostar/test.swf

I have uploaded a test file above… the first 3 images… i have changed the link in the xml document to my own… but they are not loading in…

heres the changes i have made to the xml document…

<?xml version=“1.0” encoding=“utf-8” standalone=“yes”?>
<images>
<pic>
<image>http://www.arkstudios.co.uk/eurostar/jewellery/earrings/1.jpg</image>
<caption>Earring1</caption>
</pic>
<pic>
<image>http://www.arkstudios.co.uk/eurostar/jewellery/earrings/2.jpg</image>
<caption>Earring2</caption>
</pic>
<pic>
<image>http://www.arkstudios.co.uk/eurostar/jewellery/earrings/3.jpg</image>
<caption>Earring3</caption>
</pic>
<pic>
<image>http://www.kirupa.com/developer/mx2004/pg/stata_lobby.jpg</image>
<caption>Stata Lobby</caption>
</pic>
<pic>
<image>http://www.kirupa.com/developer/mx2004/pg/construction.jpg</image>
<caption>Construction</caption>
</pic>
<pic>
<image>http://www.kirupa.com/developer/mx2004/pg/dome.jpg</image>
<caption>The Dome</caption>
</pic>
<pic>
<image>http://www.kirupa.com/developer/mx2004/pg/structure.jpg</image>
<caption>Structure</caption>
</pic>
</images>

That is weird it should work fine, I checked your paths and they all look ok?? Post your fla let me see it.

I tried changing the links to the photos from the online images to some of my own in folders. Now, I changed the XML doc to point to a file /imagefiles/pic1.jpeg but when I play the flash movie, I get an error opening URL and the image doesn’t show.

"Error opening URL “file:///…blah blah blah/Desktop/flash/gallery1/gallery2/imagefiles/guitar.jpeg” "

any ideas? I don’t think I’m missing anything unless I don’t know how to type in a relative path or something in my XML doc. Thanks!

oh no wait, apparently I had the extension wrong… it works with a .jpg extension… not .jpeg, whoopsie! =D

Hi,

please find attached, the fla, and xml file. Could you have a look at it for me…

thanks…