1

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.

4
  • 3
    stackoverflow.com/questions/1037/… Commented Oct 6, 2011 at 12:37
  • @Chris: thanks a lot; this swf was from Flash Builder and not Flash, Commented Oct 9, 2011 at 2:15
  • :) a swf is just a swf. Doesn't matter from where it comes. Try the solution from the link. It will work. Commented Oct 9, 2011 at 6:25
  • @Chris: Flex 4 enable creating swf which are optimized for speed, so by default they are dynamically linked to the SDK libs. Thats why I found so many swfs and swz in my bin-release. Also, the flex compiler produces html wrappers by default as these are RIAs. I guess I had to dig deep into Flex now; i had to use static linking. help.adobe.com/en_US/flex/using/… Commented Oct 9, 2011 at 7:17

1 Answer 1

1

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

Sign up to request clarification or add additional context in comments.

1 Comment

I suppose it's a way to go, albeit much like getting a swiss army knife if all you need is a can opener.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.