Use Javascript from Actionscript

Published: 2006-01-02 10:30:30

I often use a method to enable communication between Flash and the Browser, which is compatible across platforms and browsers. If you need to call JavaScript functions from Flash, such as modifying the DOM, check out Kevin Lynch's informative post on using JavaScript from ActionScript for practical insights.

Use Javascript from Actionscript

I use this trick all the time to communicate between Flash and the Browser, especially since it's cross-plattform and cross-browser compatible. I just read about it in a blog and figured that not everyone might know this, so if you find yourself from time to time in a situation where you'd need to call Javascript-Functions from Flash (like for example to change someting in the DOM model) head over to Kevin Lynch and read his informative post: Use Javascript from Actionscript