从 Javascript 按钮单击引发 Flash 事件

Raise a Flash event from Javascript button click

本文关键字:Flash 事件 单击 Javascript 按钮      更新时间:2023-09-26

我的JS页面上有几个按钮。单击这些时,我需要在将在其中调用弹出窗口的按钮下方的 flash swf 中引发事件。我能为此做些什么?

我想你想要ExternalInterface.addCallBack()。

文档和示例在这里: http://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118a9b90204-7cb2.html#WS5b3ccc516d4fbf351e63e3d118a9b90204-7ca7