Start New Discussion within our Web Development Community

Hi i'm having problem to display image using easeljs. Can someone help? the code below is not displaying anything.

<!DOCTYPE html>
    <script type="text/javascript" src="lib/easeljs-0.5.0.min.js"></script>
        var stage;
        var canvas;
        var img;
        function init()
            canvas = document.getElementById("canvas");
            stage = new createjs.Stage(canvas);

            img = new Image();


<body onload="init">
    <canvas id="canvas" width="1600" height="800"></canvas>
This article has been dead for over six months. Start a new discussion instead.