Posted By

Bonky on 07/19/07


Tagged

javascript link browser external interface call


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

jrutter


Call JavaScript from External Interface


 / Published in: ActionScript
 

There must also be a JavaScript function defined in the containing HTML page: function makePopup(url,popname,width,height) { window.open(url, popname, "width="+width+",height="+height+",resizable=yes,scrollbars=yes"); }

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

Report this snippet  

You need to login to post a comment.