Extend flash.display.MovieClip instead of format.display.MovieClip