When instantiating a class from another class, if I want to access the “caller class” as a parent from within the subclass, do I always have to pass “this” as a movieclip to the constructor? I am kind of new to as3 and I am finding that to dispatch events how I want them many times I need access to the parent and this code does not work properly:
var mc:MovieClip = parent as MovieClip;
mc.method();
And if the best way to access the caller is by passing the caller as a movieclip through the constructor of the subclass, then why couldnt they have just made it an inherited property since its used so often?