开发者

C# application as container for Flex swf

开发者 https://www.devze.com 2023-04-11 08:47 出处:网络
I do not want to intertop between c# and AS3 or here. I want a full screen content player in C# which can host a Adobe Flash swf file. Is there an example? In full screen, right clicks would have cust

I do not want to intertop between c# and AS3 or here. I want a full screen content player in C# which can host a Adobe Flash swf file. Is there an example? In full screen, right clicks would have custom behavior attached.

I saw one in Visual c++

As per Chris's I checked the link. I tried adding these lines of code:

path = @"D:\exampleFlex\MainMenu.swf";
            axShockwaveFlash1.开发者_高级运维LoadMovie(0, path);
            axShockwaveFlash1.Play();

However, this swf was from Flash Builder and not Flash, hence there were other files like

framework_4.1.0.16076.swz  rpc_4.1.0.16076.swz    sparkskins_4.1.0.16076.swz
osmf_flex.4.0.0.13495.swz  spark_4.1.0.16076.swz  textLayout_1.1.0.604.swz
playerProductInstall.swf

http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf663fe-7fff.html

Hence, I could only see the background color of the swf, the swf did not play.


Could you just host WebBrowser component, which has html code to host flash?

0

精彩评论

暂无评论...
验证码 换一张
取 消