Is it possible to extend class w/o access to class code?

Is it possible?

Say you were importing flash.events.KeyboardEvent and you wanted it to extend the MovieClip class, is this possible? Where you dont have access to the class to just type “extends XXX”.

(This is just an example, I’m sure this wouldn’t work / be useful)
Thanks