<p>I would like to embed Flash Player directly inside a C++ or Java application.</p>

<p>I found an article that describes how to do this for C#:
<a href="http://www.adobe.com/devnet/flash/articles/stock_history03.html" rel="noreferrer">http://www.adobe.com/devnet/flash/articles/stock_history03.html</a></p>

<p>Unfortunately, I have no experience with C#, COM or ActiveX. I need someone to translate this code to C++, allowing me to embed the Flash Player into a Win32 Window. Ultimately I'd like to use this information to embed Flash into a Java application.</p>

<p>I am looking for three main functionalities:</p>

<ol>
<li>Ability to play a Flash movie</li>
<li>Ability to receive events (such as mouse clicks)</li>
<li>Ability to send events</li>
</ol>

<p>Edit: I prefer an open-source solution if possible.</p>

I don't know how to embed flash in C++, but Christopher Deckers (of
SWTSwing
fame) has developed an interesting hack which allows it to be embedded in Java.  You can find more information in
the Javalobby announcement thread
.
Here is an updated link:
https://github.com/Chrriis/DJ-Native-Swing