【问题标题】:sample of embedding flash in windows form using c#使用 c# 在 windows 窗体中嵌入 flash 的示例
【发布时间】:2011-09-15 03:18:14
【问题描述】:

我有一个用 swish 创建的 swf 文件(小动画),我想把它像标题一样放在我的 windows 窗体应用程序中,我正在查看下面的链接,但它并没有说太多,谁能举个例子如何做到这一点?

Embedding Flash in a Windows Forms .NET app

【问题讨论】:

    标签: c# .net winforms flash


    【解决方案1】:

    您的链接指向旧页面。 (大约 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

    【讨论】:

      猜你喜欢
      • 2020-07-21
      • 2013-10-24
      • 2014-01-01
      • 1970-01-01
      • 2018-10-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多