See all Insights

How to call a javascript function from flash.

Here is a small example of how to call js from flash.

Add the following code to actionscript:

on (rollOver)
    import flash.external.ExternalInterface;“function() {  alert(‘this works’) }”);


More info from adobe

Related Posts

  • Newfangled has gotten its marketing engine revved back up in a major and unprecedented way.

  • The best piece of advice I ever received about repairing a troubled relationship came from…

  • Parallax design is the hot new trend, but it's not always a good idea to…