Hi!
Is there any way to add methods to the existing MovieClip class so that later I can use them everytime I instantiate a MovieClip? Something like this:
package {
import flash.display.MovieClip;
public class myClass extends MovieClip {
public function myMethod() {
//do stuff
}
}
}
Then, without instantiating myClass, I want to be able to call that method like this:
var newMc:MovieClip = new MovieClip();
newMc.myMethod();
Is it possible?