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
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Actionscript question - XML / onload...

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