开发者

C# and Flash integration

开发者 https://www.devze.com 2023-04-07 12:39 出处:网络
I have开发者_Go百科 integrated C# and Flash with \"Sockwave Flash Object\". I am trying to call a Flash method using a C# on-click event.

I have开发者_Go百科 integrated C# and Flash with "Sockwave Flash Object".

I am trying to call a Flash method using a C# on-click event.

How to do this?


First, there is a SO question that can help with how to use Shockwave Flash Object: Displaying Flash content in a C# WinForms application

Second, here is the Adobe Documentation: http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9b90204-7cb0.html

Most importantly (as to the answer) here is the directions on calling Flash methods in C#: http://blog.another-d-mention.ro/programming/communicate-betwen-c-and-an-embeded-flash-application/


Flash can communicate with it's SWF container via the use of fscommand and ExternalInterface.

0

精彩评论

暂无评论...
验证码 换一张
取 消