I came across the same exception ("Script:
resource://firebug/firebug-service.js:4308") when I wanted to open a
JS-Popup via Flash AS3
Win 7 64bit, FF16
Bad code:
var params:String = "height=" + h + ",width=" + w + ",top=" + top +
",left=" + left + ",toolbar=" + t + ",scrollbars=" + s + ",resizable=" + r
+ "";
if (ExternalInterface.available) {
ExternalInterface.call("window.open", address, wname, params);
}
This worked for me:
var jscommand:String = "window.open('" + address + "','" + wname +
"','height=" + h + ",width=" + w + ",top=" + top + ",left=" + left +
",toolbar=" + t + ",scrollbars=" + s + ",resizable=" + r + "');";
var url:URLRequest = new URLRequest("javascript:" + jscommand + "
void(0);");
try {
navigateToURL(url, "_self");
}
catch (e:Error) {
trace("Popup failed", e.message);
}
--
You received this message because you are subscribed to the Google
Groups "Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
https://groups.google.com/forum/#!forum/firebug