If you are interested in using Flash with C++ there is an interesting commercial product called Scaleform GFx. It is a Flash Player made as a C++ library. Based on hardware-accelerated graphics.
Non-source code version is not that expensive.
Actually, it works in an opposite way: it allows you to use Flash in C++ instead of compiling C++ info Flash.