Visual C#和Adobe Flash通讯 [英] Visual C# and Adobe Flash Communication
本文介绍了Visual C#和Adobe Flash通讯的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想设计一个小应用程序,该应用程序具有Flash中的UI和Visual C#中的后端编码.我正在尝试设置Flash和VC#之间的通信,但未成功.
任何人都可以帮助我设置沟通方式吗?
例如,如果我在Flash中有一个按钮,并且当我单击该按钮时,应调用/调用用VC#编写的函数(如打开其他表单,窗口等)
我能够以VC#格式嵌入Flash文件(swf).
I want to design a small application which has UI in Flash and backend coding in Visual C#. I am trying to set communication beteen flash and VC# but didnt succed.
Can any one help me to set communication
For eg , If I have a button in Flash and When I click on that button function written in VC# should be invoked/call (like opening another form, window etc.)
I am able to embed Flash file (swf) in VC# form.
推荐答案
如果您使用的是google,则会发现将近一百万次引用.这是一些结果的链接(在"c#app中使用Flash界面进行了搜索"):
^ ]
说完之后,请相信我-这真是太难了.我曾经做过一次,并且存在各种各样的问题,因为Flash程序员没有遵守约定的接口挂钩.此外,您必须采取措施使其看起来像样.我讨厌它,并且会采取一切措施避免再次发生.
If you use google, you''ll find almost a million references to doing it. Here''s a link to some results (searched for "using flash interface in c# app"):
http://www.google.com/search?q=using+flash+interface+in+c%23+app&sourceid=ie7&rls=com.microsoft:en-us:IE-SearchBox&ie=&oe=[^]
After saying that, take my word for this - it''s a pain in the ass. I did it once, and there were all kinds of problems because the Flash programmer wasn''t adhering to the agreed-upon interface hooks. Further, you have to take steps to make it look decent. I hated it, and will do anything to avoid having to do it again.
这篇关于Visual C#和Adobe Flash通讯的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文