C# application as container for Flex swf
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?
精彩评论