[AS3] Referencing the stage
i just can't figure out for the life of me how to reference the stage or Stage to a class which does not extend the stage. If that makes sense.
I can access the stage from the document class because that is extending the Stage Sprite so it has access to it. I've tried importing all of the display classes like so:
import flash.display.*
and tried to reference like so:
var st:Stage = new Stage()
var st = stage
all i'm trying to do is add a mouse listener to the stage from a movieclip class which controls a function within that class. I can't add it to the movieclip itself because the mouse has to be over the movieclip.
I'll have a better look at the reference but its just so confusing.
Thanks