/ Published in: ActionScript
There must also be a JavaScript function defined in the containing HTML page:
function makePopup(url,pop_name,width,height) {
window.open(url, pop_name, "width="+width+",height="+height+",resizable=yes,scrollbars=yes");
}
function makePopup(url,pop_name,width,height) {
window.open(url, pop_name, "width="+width+",height="+height+",resizable=yes,scrollbars=yes");
}
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
import flash.external.*; ExternalInterface.call("makePopup('mylink.html','My Link','750','475')");