FlexJS is an experimental framework which allows ActionScript 3 and MXML source code to be compiled into HTML5 and JavaScript source code as well as Flex SWCs.