Flash has its own programming language, although it is very similar to the way C++ coding works. Flash uses Actionscript 2.0 and Actionscript 3.0. Don't quote me on this, but I believe most flash games out there use Actionscript 3.0. I do not have knowledge on how to code in 3.0, only 2.0.