การทำ Flash popup โดยใช้ Javascript
AS2:
var jscommand:String = "window.open('http://www.adobe.com','win','height=200,width=300,toolbar=no,scrollbars=yes');";
getURL("javascript:" + jscommand + " void(0);");
AS3:
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");
ที่มา
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14192&sliceId=2
No comments:
Post a Comment