Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

Actionscript question - XML / onload...

  • 14-01-2004 03:24PM
    #1
    Registered Users, Registered Users 2 Posts: 648 ✭✭✭


    Hi

    basically im using a piece of code i found for searching an xml file.
    What this code does is if it finds a word it out puts the description link etc etc

    I want to change that so that if the word is found it loads a new swf - Thats no problem.

    However if it finds more than one entry i want it also to put up the description - but with a
    button/link to load the swf. Can anyone help?????

    Here is the code

    1) Initial code

    if(itsfound)
    {
    // show the results and details

    results += "<b><a href=\""+ dbArray.link + "\"><u>" + dbArray.title + "</u></a></b>" + "<br>";
    results += dbArray.description + "<br><br>";
    found = false;
    }

    2) My code

    if(itsfound)
    {
    loadMovie("music.swf",2);
    }


    3) ?????


Advertisement