Flash
GPL
flash compiler:
http://haxe.org/
Beyond flash
SVG vs html canvas:
http://people.mozilla.com/~vladimir/xtech2006/
http://www.borismus.com/canvas-vs-svg-performance/
Canvas details:
https://developer.mozilla.org/en/Canvas_tutorial
Tutorial with mouse and keyboard input:
http://billmill.org/static/canvastutorial/index.html
Games examples:
Thrust:
http://joncom.be/experiments/thrust/
Wolfenstein like 3D game:
http://www.benjoffe.com/code/demos/canvascape/