Cubes Stage3D Demo by Felix Turner - www.airtight.cc

To compile this code you need Flash Builder and Flex SDK 4.5.1.

View this tutorial for how to get Flash Builder set up to compile for Stage3D + Away3D 4: 
http://www.adobe.com/devnet/flashplayer/articles/creating-games-away3d.html