Links from XML ??
Hey ive been trying to get links to work from XML to web pages but i cant work it out. Here is my xml code:
The link would go where it says Comments on Image 0 and Comments on Image 1 but i cant get it to work.
<item title="Figure Drawing">
<imageNode jpegURL="img_0.jpg" thumbURL="tn_img_0.jpg" title="Image 0">Comments on image 0</imageNode>
<imageNode jpegURL="img_1.jpg" thumbURL="tn_img_1.jpg" title="Image 1">Comments on Image 1</imageNode>
The xml file is used to load images into a gallery in flash and when u click the image the Comments will show and i want to add links but cant work out or find out how.
U can find the gallery im working with here:
Anyone got any Clues ??
Thanks in advance.
What are you using to process the XML? ColdFusion? PHP? XSLT?
Basicly nothing. The component im using just loads the images and comments direct from an xml file without any other kind of script.
Thats why the component is used so much because its ease of use and stuff.
Does it matter ?? I mean is it a bad idea to just load direct from xml ??
Im new to the scripting/backend of design so im trying to learn what i can.
Thanks again, Mental
So you are using Flash to extract and read the data from an XML file?
yeah basicly the flash files loads the info from the XML file the way its setup.
U set it in flash to load lets say EXAMPLE.XML and it does the rest.
The gallery loads the images from using the info in the XML file and the comments are then displayed in a text box.
I just thought XML was like html when it came to using links but i guess its harder than that .
So then that would make this a more Flash related question, rather than an XML one, wouldn't it? I mean, since this is Flash, you'll need to have some kind of on(release) function or something to make it act like a link, woulnd't you?
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)