Calling a JavaScript function from AS3

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