Hey so I'm having trouble with this :
var rect = new Rectangle(b2.grid.x,b2.grid.y,b2.grid.width,b2.grid.height);
I have a new Object "b2". It comes from my class DrawGrid.as,
which generates a bmp, and a lot more bmps copyPixeled to it.
I'm trying to make that bmp clickable, so I made a rectangle to click on,
but its returning this error
Property addEventListener not found on flash.geom.Rectangle and there is no default value.
So I was wondering why I can't add evenlistener to my rectangle or if I'm just doing something wrong.
Thanks a million.