我正在使用Visual Studio 2008,如何在Windows应用程序中使用流行电影 [英] i am using visual studio 2008, how to i use the fash movie in my windows application

查看:71
本文介绍了我正在使用Visual Studio 2008,如何在Windows应用程序中使用流行电影的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在Windows应用程序中显示Flash电影的完整编码.

请提供编码以我的形式显示Flash

I need full codings for display flash movie in my windows appplications.

Kindly give the codings to display the flash in my forms

推荐答案

^ ]出色的文章肯定会对您有所帮助.
This[^] excellent article will surely help you.


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

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

第二路;

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

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.

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


这篇关于我正在使用Visual Studio 2008,如何在Windows应用程序中使用流行电影的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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