摘要:
Flex: //注册js事件 protected function init():void { ExternalInterface.addCallback("runcommand",runcommand); } //执行js方法 private function runcommand():void { ExternalInterface.call("runcommand"); }JavaScript:(index.template.html)//JavaScript代码 阅读全文