Hello! I have an AS3 class that extends sprite. In the class, I create a bunch of Shape objects and add them to the stage…I’d like to change how they look when the mouse moves over them – but here’s my problem.
If I use addEventListener to one of the Shape objects, the specified function is never called…but when I use addEventListener to the instance itself:
The function is called outside of the boundaries of the shapes, as if the class’ stage is larger than the shape objects. That’s probably the case, but I can’t resize it because (1) I can’t access the stage (*stage *is null) and (2) if I resize the instance’s height it shrinks the shape objects as well…
Any help is appreciated