10 Replies Latest reply on Jun 14, 2007 12:27 PM by SymTsb

    AS3.0: How to extend a class that extends MovieClip

      When I try to set the base class of a library symbol to a class that doesn't DIRECTLY extend MovieClip, but instead extends another class that DOES extend MovieClip, it's disallowed, saying, "The class 'Whatever' must subclass 'flash.display.MovieClip' since it is linked..."

      Is this just a validation bug in the property windows, only checking one class deep into the inheritance hierarchy? Because the specified class does extend MovieClip, just two levels in instead of one. Is there a fix for this? Or must library symbols always directly extend MovieClip? If so, why?