如何使用ExternalInterface将变量传递给javascript函数?
答案 0 :(得分:13)
请参阅doc for external interface call function here
例:
import flash.external.ExternalInterface;
if (ExternalInterface.available){
ExternalInterface.call("myJavascriptFunction", argument1, .., argumentN);
}