如何在form2.cs中打开SWF文件? [英] how to open swf file in form2.cs ?

查看:112
本文介绍了如何在form2.cs中打开SWF文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好
在表格2中,我有axShockwaveFlash1,我想在按表格1中的播放按钮时在该表格上运行test.swf


hello
in form 2 i have axShockwaveFlash1 and i want to test.swf run on that form when i press play button in form 1


private void button1_Click(object sender, EventArgs e)
{

Form2.flash1.Movie = @"c:/w.swf";
}


???


???

推荐答案

什么是flash1? .NET中没有控件可以播放我所知道的Flash电影,但Web浏览器控件除外.如果您在配置和运行SWF的浏览器控件中运行HTML,则应该可以正常工作.
What is flash1 ? There''s no control in .NET that plays flash movies that I know of, except for the web browser control. If you run HTML in your browser control that configures and runs the SWF, that should work fine.


这篇关于如何在form2.cs中打开SWF文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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