import flash.external.ExternalInterface; ExternalInterface.call("your_javascript_function()");
var x:int = ExternalInterface.call("get_x()");
var retval:int = ExternalInterface.call("function()", "args");
Agile Development Practices suggest developers keep a solutions log. I think we can all benefit from a combined solutions log. As I encounter errors or problems I intend to record the solutions on this blog. Please feel to leave your comments, solutions and email me with your errors and solutions.
import flash.external.ExternalInterface; ExternalInterface.call("your_javascript_function()");
var x:int = ExternalInterface.call("get_x()");
var retval:int = ExternalInterface.call("function()", "args");