www.webdeveloper.com
Results 1 to 6 of 6

Thread: Links from XML ??

  1. #1
    Join Date
    Jun 2003
    Posts
    18

    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:

    PHP Code:
    <menuitems>
        <
    item title="Figure Drawing">
            <
    images directory="images1">
                <
    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>
            </
    images>
        </
    item>
    </
    menuitems
    The link would go where it says Comments on Image 0 and Comments on Image 1 but i cant get it to work.
    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:

    http://www.flashcomponents.net/compo...m?nav=2&id=173

    Anyone got any Clues ??

    Thanks in advance.

  2. #2
    Join Date
    Jan 2003
    Location
    Texas
    Posts
    10,413
    What are you using to process the XML? ColdFusion? PHP? XSLT?

    Jona
    Visit Slightly Remarkable to see my portfolio, resumé, and consulting rates.

  3. #3
    Join Date
    Jun 2003
    Posts
    18
    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

  4. #4
    Join Date
    Jan 2003
    Location
    Texas
    Posts
    10,413
    So you are using Flash to extract and read the data from an XML file?

    Jona
    Visit Slightly Remarkable to see my portfolio, resumé, and consulting rates.

  5. #5
    Join Date
    Jun 2003
    Posts
    18
    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 .

    Mental

  6. #6
    Join Date
    Jan 2003
    Location
    Texas
    Posts
    10,413
    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?

    Jona
    Visit Slightly Remarkable to see my portfolio, resumé, and consulting rates.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles