I'm trying to display an image using JS and EaselJS.
I'm getting the error Uncaught TypeError: Object #<HTMLImageElement> has no method 'isVisible'
Here are my code snippets...
function init() {
canvas = document.getElementById("testCanvas");
start();
}
function start() {
//Create new stage and point it at Canvas
stage = new createjs.Stage("demoCanvas");
myImg = new Image();
myImg.src = "./Images/SnakeHead.png";
Any thoughts why?
Thanks!