I have a button in flash linking to a html using getURL. But I want to pop up a alert window when the using click on the button. So I try something like this:
function onclick() {
getURL("javscript:alert('say something')");
getURL("somewhere.html");
}
But this does popup the alert box, just goes to the html page. If I remove the line getURL("somewhere.html"); and just leave the getURL("javscript:alert('say something')"); in, it will popup.
I am confused, can someone help me out.
Cheers
Tony