Popup window

on (release) {
getURL ("javascript:NewWindow=window.open('ShowPopup.php','newWin','width=400,height=300,left=0,top=0,
toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No'); NewWindow.focus();
void(0);");
}


getURL/navigateToURL

ActionScript 2.0:
getURL("www.adobe.com", "_blank");

ActionScript 3 .0:
var url:URLRequest = new URLRequest("http://www.adobe.com"); navigateToURL(url, "_blank");

getURL/navigateToURL with JavaScript


ActionScript 2 .0:

var jscommand:String = "window.open('http://www.adobe.com','win','height=200,width=300,toolbar=no,scrollbars=yes');"; getURL("javascript:" + jscommand + " void(0);");

ActionScript 3 .0:

var jscommand:String = "window.open('http://www.adobe.com','win','height=200,width=300,toolbar=no,scrollbars=yes');"; var url:URLRequest = new URLRequest("javascript:" + jscommand + " void(0);"); navigateToURL(url, "_self");

Read more

0 comments:

Post a Comment