摘要: flash使用的actionscript跟javascript是非常相通的,下面描述如何互相调用函数:①javascript调用flash中的函数在flash的脚本中增加代码:import flash.external.ExternalInterface;假定要调用的函数是hello,as代码如下代码:function hello(){ return "hello";}ExternalInterface.addCallback("hello", this, hello);//第一个参数为导出函数名,第三个参数为as的函数名这样就可以在js中调用as的he 阅读全文