Write AS code into HTML
FlashJS is JavaScript graphics and game development engine with API similar to Flash one.
It`s HTML5 game development tool, based on verified for years Flash methodology.
Just write ActionScript 3 code inside of <actionscript> tag.
http://flashjs.com/
!!! UPDATE to VERSION 1.1 !!!
If you want to develop in your own structure like:

and you will deploy it for device you must copy the lua files in the main folder.
Ansca wrote for required : These Lua files MUST be in the same directory as your main.lua file in order to be packaged for you during device builds, otherwise require() will fail at runtime. Please also see the note below about file name case sensitivity.
With the Air Corona Project Builder you can develop by your own structure and if you want to build it for device you just choose your Project folder and all files are managed in one folder also require(“path”) in the LUA files will be updated !
Note that you can use only Project folder and in there sub folder not in sub folder –> sub folder!!!
NOW YOU CAN USE SUBFOLDERS !!!
And don´t name your folder like the class –> folder name= assets –> assets.lua !!!

But just try it out and give me a feedback if you like it
Download Air File : CoronaProjectBuilder
Here is a good sample what you can do with Air 2.6 on the iOS world !
The result is a smooth 40 fps game “Comb Over Charlie” Game

Over the past few weeks I’ve had the privilege to work with the AIR 2.6 pre-release; I have to say I was completely shocked. The first time I used the AIR to iOS compiler that shipped with CS5, the frame-rates were poor enough that I disregarded it and never planned on using it again. About two months ago I decided to give it another go. I was shocked to say the least.
My application went from about 10 to 15 fps to a solid 40 fps. While I started off with the goal to create something with AIR for the sake of calling it an AIR app, I was able to forget about the technology and just focus on the game. Now, I spend more time creating new characters, backgrounds, and other game features instead of working around limitations.
http://www.flash-3d.net/2011/03/air-2-6-game-development/
Great Work !!!!


Tom Krcha : “The good news is that you can actually accelerate 2D graphics as well by rendering them on a stage3D instead of on the stage (DisplayList). It’s a little bit tricky, but definitely possible.”
http://www.flashrealtime.com/m2d/