Make JavaScript calls within ActionScript 3

import flash.external.ExternalInterface;
var returnedValue:int = ExternalInterface.call("foobar()", "argument");

Leave a Reply