I would like to embed Flash Player directly inside a C++ or Java application.
I found an article that describes how to do this for C#: http://www.adobe.com/devnet/fl
Take a look at FlashDX. It is open-source and free.