Same class name in loaded swf?

I have parent.swf which uses a class called ObjEvent.

parent.swf then loads child.swf, which also uses a class called ObjEvent.

However- if the class which child.swf uses is somehow different than the one parent.swf uses (i.e. uses a public var which isn’t defined in the other), I get errors. How can I avoid this? I want child.swf to act as its own… especially if child.swf weren’t developed by myself and just happened to use a class of the same name of one I use in parent.swf. Help!