Executing AS Functions via HTML/JS

Hello all,

I’ve done some searching around and was wondering if this works. Is it possible to send a function command to a SWF from an HTML page? Basically, a javascript based menu that executes a function in a swf contained on that page.

If there is some documentation or examples of this I’d love to see them. Thanks!

take a look at this:
http://www.quirksmode.org/js/flash_call.html

and this:

http://weblogs.macromedia.com/flashjavascript/readme.html

Thanks, just the info I was looking for. While the FlashJavascript Gateway looks promising, it may be easier to just create the menu in Flash and use local connection. Thanks!