Call JavaScript from External Interface

/ Published in: ActionScript
Save to your folder(s)

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

Copy this code and paste it in your HTML
  1. import flash.external.*;
  2."makePopup('mylink.html','My Link','750','475')");

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.