FlashCC is the second iteration of the Alchemy tool which allows C++ code to be compiled for execution in Flash Player (Actionscript Virtual Machine)
From the official website:
The Flash Runtime C++ Compiler provides a complete BSD-like C/C++ development environment based on GCC that lets you compile your C/C++ code to target the Adobe® Flash® Runtime (Flash Player and AIR®). With FlasCC you can port almost any existing C/C++ code to the web, across browsers.
FlasCC includes tools for building, testing, and debugging C/C++ projects, example projects with source code, and documentation.
FlasCC technical info The FlasCC SDK gives you everything you need to efficiently port your code to the Flash Runtime:
- Use your existing C/C++ project files and makefiles. If you're already using GCC, just drop in FlasCC to target Flash Player with your existing C/C++ code.
- Debug your code running in the Flash Runtime with GDB, just like your native toolchain.
- Access the entire Flash Runtime API from C++ classes, including Stage3D for OpenGL/DirectX GPU accelerated graphics.
- Leverage extensive documentation, tutorials, and working examples of C/C++ libraries ported to the Flash Runtime, including Lua, Box2D, and Bullet physics.
- Take advantage of Pthreads multithreading support in the upcoming Flash Player 11.5.
- FlasCC also lets you use C/C++ to create libraries (SWCs) for ActionScript developers: Use SWIG to automatically create AS3 interfaces to C code.