Embedding Flash Player in an application in C ++ or Java?

I would like to embed Flash Player directly in a C ++ or Java application.

I found an article that describes how to do this for C #: http://www.adobe.com/devnet/flash/articles/stock_history03.html

Unfortunately, I have no experience with C #, COM or ActiveX. I need someone to translate this code into C ++, which allows me to embed Flash Player in a Win32 window. Ultimately, I would like to use this information to embed Flash in a Java application.

I am looking for three main functions:

  • Ability to play Flash movie
  • Ability to receive events (e.g. mouse clicks)
  • Ability to send events

Edit: I prefer an open source solution if possible.

+5
source share
8 answers

I do not know how to embed flash in C ++, but Christopher Deckers ( SWTSwing fame) has developed an interesting hack that allows you to embed it in Java. You can find more information in the Javalobby ad stream .

+4
source

, Gnash, Flash .
, nsapi.

+1

, Scaleform GFx. , , .

0

Flash- : AtlAxCreateControlEx.

, : AtlAdvise. , ActionScript (, Flash).

0

, Netscape Plugin API. , , flash-. - , API .

flashplayer :

- , (, Adobe ). Flashplayer %AppData%\Mozilla\plugins Windows.

0
source

Check out FlashDX . It is open and free.

0
source

I personally have not tried this, but I will say that in the case of SWT / Java, you could insert the SWT browser window into your SWT / Java application, and in the browser view you could place content with flash content, and then communicate with Merapi Bridge with using flash movie and java.

-1
source

All Articles