[code]
/** demo.js
* ...comparing canvas and BitmapData
* @author amyflash.com
*/

(function() {
var can = document.getElementById("canvas");//
var ctx = can.getContext("2d");
ctx.font="20px Arial";
ctx.fillText("hello world",50,50);
})();
[/code]
[