import flash.external.ExternalInterface;
...
ExternalInterface.call("your_javascript_function()");