i was trying to insert this h1 inside canvas . but it does not show . anyway to integrate w3school html inside canvas without creating text using easeljs procedure . i added this inside canvas .
<body onload="init();" style="background-color:#D4D4D4">
<canvas id="canvas" width="550" height="300" style="background-color:#ffffff">
<h1> i like this </h1>
</canvas>
<script>
function init() {
canvas = document.getElementById("canvas");
exportRoot = new lib.Untitled1();
stage = new createjs.Stage(canvas);
stage.addChild(exportRoot);
stage.update();
createjs.Ticker.setFPS(24);
createjs.Ticker.addEventListener("tick", stage);
}
</script>
</head>
<body onload="init();" style="background-color:#D4D4D4">
<canvas id="canvas" width="550" height="300" style="background-color:#ffffff">
<h1> i like this </h1>
</canvas>