简体   繁体   中英

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.

您能否托管WebBrowser组件,该组件具有用于托管Flash的html代码?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM