Return to Snippet

Revision: 3403
at July 19, 2007 14:54 by Bonky


Initial Code
import flash.external.*;
ExternalInterface.call("makePopup('mylink.html','My Link','750','475')");

Initial URL

                                

Initial Description
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");
}

Initial Title
Call JavaScript from External Interface

Initial Tags
javascript, link, browser

Initial Language
ActionScript