【发布时间】:2011-09-15 03:18:14
【问题描述】:
我有一个用 swish 创建的 swf 文件(小动画),我想把它像标题一样放在我的 windows 窗体应用程序中,我正在查看下面的链接,但它并没有说太多,谁能举个例子如何做到这一点?
【问题讨论】:
我有一个用 swish 创建的 swf 文件(小动画),我想把它像标题一样放在我的 windows 窗体应用程序中,我正在查看下面的链接,但它并没有说太多,谁能举个例子如何做到这一点?
【问题讨论】:
您的链接指向旧页面。 (大约 2003 年)
接下来有一个类似这样的SO问题:AxShockwaveFlashObjects and ShockwaveFlashObjects from Flash ocx
要获取所需的两个 DLL 文件,请执行以下操作:
Open your command prompt. Switch to the directory that contains the aximp.exe file. Typically; C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin>
Enter the following command (you may need to change the name of your COX file to match your version.
aximp.exe -source "C:\WNDOWS\system32\Macromed\Flash\Flash10a.ocx"
Look in the C:\WNDOWS\system32\Macromed\Flash\ directory. Your files should be there.
在 Visual Studio 中添加这两个文件作为参考。
这是 MSDN 上的示例应用程序:http://social.msdn.microsoft.com/Forums/en-US/winformsdesigner/thread/5815e676-50b0-47f4-964a-c1bcebfdb9a4
【讨论】: