Width of Imported Image
I want to know the width of an image I am importing into a variable. I do not understand why I can't get this, but can get the x,y. This is an image, not a shape, so I don't see why the width and height are undefined.
var image = new createjs.Bitmap("Assets/svg/MLC_Lesson1_043_en.png");
alert(image.width);The reason I want to figure out the width is that it seems that when I import and addChild(image) to a movieclip, the image winds up smaller than it should, but I want to make sure. It's not because of the size of the movieclip.
