C#Windows窗体中的Flash [英] Flash in C# Windows Form

查看:112
本文介绍了C#Windows窗体中的Flash的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我设法将.swf嵌入到Windows窗体中,但是,此.swf是一个容器,其中包含其他Flash.

可以这么说,当我运行该窗体时,该容器就会显示出来,当我单击该容器上的一个按钮(该按钮可能会在其中加载另一个Flash)时,它将不起作用.

I managed to embed a .swf onto a windows form, however, this .swf is a container which contains other flash within it.

So to say, when i run the form, the container shows up, when i click on a button on the container (which suppose to load another flash within it), it will not work.

Any solution?

推荐答案

我认为您不必在同一阶段运行swf文件,但是距我已经有很多年了在.Net WinForms应用程序中使用Flash.无论如何,您将不得不在ActionScript/Flex中调试Flash部件,因为Visual Studio无法调试这种代码.
I don''t think you can have to swf files running on the same stage, but it''s been a number of years since I worked with flash in a .Net WinForms app. In any case, you''re going to have to debug the Flash part in ActionScript/Flex because Visual Studio doesn''t have the ability to debug that kind of code.


我认为您只需要停止旧文件,然后加载&播放新文件.

如何在C#中播放Flash(SWF) [ ^ ]
I think you just need to stop the old file, load & play the new file.

How to Play Flash (SWF) inside C#[^]


亲爱的所有人!

我发现了我的错误!
我错过了一些xml文件,这就是为什么无法正确显示Flash的原因!
Dear all!

I have found my mistake!
I missed out some xml file that is why the flash is not being displayed correctly!


这篇关于C#Windows窗体中的Flash的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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