Using ExternalInterface to call Javascript from flex

This is a short example on calling javascript from flex using ExternalInterface…

Application Source

Please Note:  Javascript has to be on in your browser and the javascript is in the html-template > index.template.html file.

1 comment on this post.
  1. radek:

    You can do even more interesting stuff:
    ExternalInterface.call(“f = function() { alert(‘document.body.offsetHeight’); }”);

Leave a comment