Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Actionscript question - XML / onload...

  • 14-01-2004 04: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