如何为ShockWave Flash对象编写事件 [英] how to write an event for shockWave flash object
问题描述
有什么方法可以为shockWave Flash对象编写点击事件?
Is there any way to write click event for shockWave flash object?
推荐答案
AFAIK如果不修改Flash应用程序(swf)或至少将其包装在新的Flash应用程序中,则无法做到这一点.一旦能够捕获Flash中的click事件,就可以使用适用于 flash + a主机应用程序的任何通信方案.您可以在这种情况下使用:
- FS命令("从Flash电影中将数据发送到CodeProject中的托管C#应用程序)
-使用C#和Flash Player 8的乐趣外部API "(也在CodeProject中)
AFAIK there is no way of doing this without modifing the flash application (swf) or at least wrapping it in a new one. Once you are able to capture the click event in Flash, you can use any of the communication schemes available for flash+a host application. You could use in this scenario:
-FS Command ("Sending Data from a Flash Movie to the Hosting C# Application" in CodeProject)
-External Interface ("Fun with C# and the Flash Player 8 External API" also in CodeProject)
这篇关于如何为ShockWave Flash对象编写事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!