PDA

View Full Version : flash slideshow with xml


i-guy
11-10-2009, 01:55 AM
Hi im new here, i recently done up a flash slideshow for a site of a friend of mine. The slide show works great with no probs what so ever. He recently asked me to add links to images, so when the image comes up if you click on it then it will bring you to info about that image. Just another page really.

But for some reason i cant get it to work! Can anyone point out what i have done wrong please. Here is the code:

<?xml version="1.0" encoding="UTF-8" ?>
<flash_parameters copyright="socusoftFSMTheme">
<preferences>
<global>
<basic_property movieWidth="580" movieHeight="380" html_title="Title" loadStyle="Bar" startAutoPlay="true" continuum="true" socusoftMenu="false" backgroundColor="0xa6caf0" hideAdobeMenu="false" photoDynamicShow="true" enableURL="true" transitionArray=""/>
<title_property showTitle="true" photoTitleColor="0xff0000" backgroundColor="0xffffff" alpha="50" autoHide="true"/>
<music_property path="" stream="true" loop="true"/>
<photo_property topPadding="8" bottomPadding="8" leftPadding="8" rightPadding="100"/>
<properties enable="true" backgroundColor="0xffffff" backgroundAlpha="30" cssText="a:link{text-decoration: underline;} a:hover{color:#ff0000; text-decoration: none;} a:active{color:#0000ff;text-decoration: none;} .blue {color:#0000ff; font-size:15px; font-style:italic; text-decoration: underline;} .body{color:#ff5500;font-size:20px;}" align="bottom"/>
</global>
<thumbnail>
<basic_property thumbnailWidth="80" thumbnailHeight="60" thumbnailBorderColor="0xffffff" thumbnailBorderSize="2"/>
</thumbnail>
</preferences>
<album>
<slide jpegURL="thumbs/t_0001.jpg" d_URL="slides/p_0001.jpg" transition="29" panzoom="1" URLTarget="0" phototime="4" url="http://www.google.com" title="slide4-lastlightmtsi" width="472" height="364"/>
<slide jpegURL="thumbs/t_0002.jpg" d_URL="slides/p_0002.jpg" transition="29" panzoom="1" URLTarget="0" phototime="4" url="http://www.google.com" title="slide5-evensong" width="472" height="364"/>
<slide jpegURL="thumbs/t_0003.jpg" d_URL="slides/p_0003.jpg" transition="29" panzoom="1" URLTarget="0" phototime="4" url="http://www.google.com" title="slide1-lookingout" width="472" height="364"/>
<slide jpegURL="thumbs/t_0004.jpg" d_URL="slides/p_0004.jpg" transition="29" panzoom="1" URLTarget="0" phototime="4" url="http://www.google.com" title="slide2-approachingrapids" width="472" height="364"/>
<slide jpegURL="thumbs/t_0005.jpg" d_URL="slides/p_0005.jpg" transition="29" panzoom="1" URLTarget="0" phototime="4" url="http://www.google.com" title="slide3-forceofnature" width="472" height="364"/>
<slide jpegURL="thumbs/t_0006.jpg" d_URL="slides/p_0006.jpg" transition="29" panzoom="1" URLTarget="0" phototime="4" url="http://www.google.com" title="slide7-monumenttwilight2" width="472" height="364"/>
<slide jpegURL="thumbs/t_0007.jpg" d_URL="slides/p_0007.jpg" transition="29" panzoom="1" URLTarget="0" phototime="4" url="http://www.google.com" title="slide8-potomacmorningfog29" width="472" height="364"/>
<slide jpegURL="thumbs/t_0008.jpg" d_URL="slides/p_0008.jpg" transition="29" panzoom="1" URLTarget="0" phototime="4" url="http://www.google.com" title="slide9---theamericanschool" width="472" height="364"/>
<slide jpegURL="thumbs/t_0009.jpg" d_URL="slides/p_0009.jpg" transition="29" panzoom="1" URLTarget="0" phototime="4" url="http://www.google.com" title="slide10-familyportrait" width="472" height="364"/>
<slide jpegURL="thumbs/t_0010.jpg" d_URL="slides/p_0010.jpg" transition="29" panzoom="1" URLTarget="0" phototime="4" url="http://www.google.com" title="slide11-vernonjordan" width="472" height="364"/>
<slide jpegURL="thumbs/t_0011.jpg" d_URL="slides/p_0011.jpg" transition="29" panzoom="1" URLTarget="0" phototime="4" url="http://www.google.com" title="slide12-kahanasky" width="472" height="364"/>
<slide jpegURL="thumbs/t_0012.jpg" d_URL="slides/p_0012.jpg" transition="29" panzoom="1" URLTarget="0" phototime="4" url="http://www.google.com" title="slide13-lepontneuf" width="472" height="364"/>
<slide jpegURL="thumbs/t_0013.jpg" d_URL="slides/p_0013.jpg" transition="29" panzoom="1" URLTarget="0" phototime="4" url="http://www.google.com" title="slide14-potomacprimavera" width="472" height="364"/>
<slide jpegURL="thumbs/t_0014.jpg" d_URL="slides/p_0014.jpg" transition="29" panzoom="1" URLTarget="0" phototime="4" url="http://www.google.com" title="slide15-aspengrove" width="472" height="364"/>
<slide jpegURL="thumbs/t_0015.jpg" d_URL="slides/p_0015.jpg" transition="29" panzoom="1" URLTarget="0" phototime="4" url="http://www.google.com" title="slide16-enpleinair" width="472" height="364"/>
<slide jpegURL="thumbs/t_0016.jpg" d_URL="slides/p_0016.jpg" transition="29" panzoom="1" URLTarget="0" phototime="4" url="http://www.google.com" title="slide17-boardwalkevening" width="472" height="364"/>
<slide jpegURL="thumbs/t_0017.jpg" d_URL="slides/p_0017.jpg" transition="29" panzoom="1" URLTarget="0" phototime="4" url="http://www.google.com" title="slide18-beforetherace" width="472" height="364"/>
<slide jpegURL="thumbs/t_0018.jpg" d_URL="slides/p_0018.jpg" transition="29" panzoom="1" URLTarget="0" phototime="4" url="http://www.google.com" title="slide19-kathleen" width="472" height="364"/>
<slide jpegURL="thumbs/t_0019.jpg" d_URL="slides/p_0019.jpg" transition="29" panzoom="1" URLTarget="0" phototime="4" url="http://www.google.com" title="slide20-privateportrait" width="472" height="364"/>
<slide jpegURL="thumbs/t_0020.jpg" d_URL="slides/p_0020.jpg" transition="29" panzoom="1" URLTarget="0" phototime="4" url="http://www.google.com" title="slide21-privateportrait" width="472" height="364"/>
</album>
</flash_parameters>

As you can see all the images are just pointing to google at the moment! But it wont bring me to google.

Can anyone help please?

Alex Vincent
11-10-2009, 07:17 PM
Nothing obvious comes to mind. Have you tried looking at the HTTP requests going out from your browser? Maybe the URL you're requesting doesn't exactly match what you think it is.

(i.e. you might need a trailing slash in the URL attribute)

i-guy
11-10-2009, 09:26 PM
I had a look through everything and couldnt find anything.

In the url part iv noticed if i take out the http:// before the link it throws back an error which it should. But at least it looks for the link.

Where as if i put that back in and click on the image nothing happens at all!

Any ideas?

Kor
11-11-2009, 05:10 AM
I would not write the XML tags in the XHTML manner. Try replacing <tag /> with <tag></tag> all over