Ok so i finally ran into a problem I cant find a answer for.
I am making a class that loads/manages other class objects. In this master class I load the slave classes apply them to objects and then add the objects to the stage. Simple enough, the catch is that the loaded classes will be made by other people (who i don’t trust :}) because of this I want to override some of the core classes like “addChild” so that when these independent classes try to add a new child I can use a use a custom class to add the child, run some checks, and do a few other things that need to be done.
I know about “override” the problem is that I dont know how to apply an override to all objects inside a parent - or - apply the custom classes when I create the object class.
basicaly i need the master class to take over the built in classes so I can manage the loaded “object classes” differently then the defualt classes do. And while I could do this from the loaded class I am not the one building those so I need override the built in classes externaly. Last I should mention that the slave classes come from the main timeline of loaded swf files