I'll consider myself a newbie,
I've made buttons in a flash menu to play animation and go to a url on click, and I've made it so that the url page loads in an iframe.
Everything works fine on Safari, but it ends up loading the url page in a new tab for Firefox.
If anyone has a solution, it'll be really appreciated. Thanks so much.
Here is the actionscript and the iframe is named "myframe":
present_btn.addEventListener(MouseEvent.CLICK,goPresent);
function goPresent(evt:MouseEvent):void {
// play();
present_btn.gotoAndPlay("present");
var url:String = "http://www.ecuad.ca/~vlo/corelam/blank.html";
var request:URLRequest = new URLRequest(url);
try {
navigateToURL(request, "myframe");
} catch (e:Error) {
trace("Error occurred!");
}
}