我如何在C#表单上运行Flash [英] how i run flash on my C# form

查看:112
本文介绍了我如何在C#表单上运行Flash的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何在C#表单上运行Flash

how i run flash on my C# form

推荐答案

您可以通过两种方式来实现它;

1st;
在您的工具箱上,右键单击它,然后选择选择项目".当页面显示出来时,选择"COM组件".然后在列表中找到Shockwave Flash Object.选择它,它将出现在组件"选项卡下.将其拖动到表单中并提供SWF文件的URL.

第二路;

在您的项目中,添加一个Web浏览器.然后将.SWF也添加到项目中.在浏览器和/或引用.SWF对象的HTML文档中创建一个链接,您将看到SWF电影的运行.

Shockwave Flash Object具有您可以使用的以下方法/属性:

You can do it in two ways I think;

1st;
On your toolbox right click on it and choose the "Choose items". When the page shows up choose "COM components". Then on the list find Shockwave Flash Object. Select it and it will appear under your components tab. Drag it your form and give the URL of your SWF file.

2nd way;

To your project, add a webbrowser. Then add the .SWF to the project as well. Create a link in the browser and or an HTML document that refers to the .SWF object and you will see the SWF movie run.

Shockwave Flash Object has these methods/properties you can use:

AxShockwaveFlash1.Stop();
AxShockwaveFlash1.Movie = FilePath & "\yourflashfile.swf";
AxShockwaveFlash1.Play();



祝你好运.
OI



Good luck.
OI


这篇关于我如何在C#表单上运行Flash的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆