Adding a HTML link within a flash movie

Associate
Joined
21 Feb 2003
Posts
1,348
Evening all, quick question...

On my website, all my galleries are built within flash as XML files. The coding looks like this for each image in the gallery:

<item>
<thumb>DSC_1535_T.jpg</thumb>
<img>DSC_1535.jpg</img>
<caption>Hippo with Young (c)</caption>
</item>

I want to include a 'click here to buy' link at the end of the caption, however I tried adding...

<a href="http://www.richardpeters.co.uk">click here to buy</a> (as an example)

after the </caption> and before it but either way when I load the page on my site the link does not appear. Is there something else I need to do because its in a XML file? I'm not too good with all this flash stuff and a friend built the site for me, but I want to try and solve this little problem asap if I can.

Any advice appreciated :)
 
I tried before it both ways:

<item>
<thumb>DSC_1535_T.jpg</thumb>
<img>DSC_1535.jpg</img>
<caption>Hippo with Young (c)</caption>
<a href="http://www.richardpeters.co.uk">click here to buy</a>
</item>

and

<item>
<thumb>DSC_1535_T.jpg</thumb>
<img>DSC_1535.jpg</img>
<caption>Hippo with Young (c)<a href="http://www.richardpeters.co.uk">click here to buy</a></caption>
</item>

(thinking putting within the <caption> tag would make it part of the caption)

But it didn't work either way.
 
Can it not go in the caption? You would have to modify the flash to read from a new XML tag if you wanted to add it seperatly, and as you said you are not too good with flash.

I really know nothing about XML ( whenever i use its trial an improvement ) just applying logic too it.
 
you're only using xml to feed it data. doesn't matter what you put in there, isn't suddenly going to make the flash interact and actually make it clickable, you need to modify the flash somehow?
 
Back
Top Bottom