Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Actionscript question - XML / onload...

Options
  • 14-01-2004 4:24pm
    #1
    Registered Users 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