Error 5000 "must subclass flash.display.MovieClip" / "must subclass flash.display.SimpleButton" I finally decided to ask after forum hopping for answers. Basically, when I extend MovieClip the error for the movie clip goes away but the simple button error shows up. When I extend simple button, the movie clip error appears. What is the simplest way to include both or otherwise make this work?
//psuedo code
import flash.display.*;
public class classInSession extends MovieClip //or SimpleButton
{
var Btn:SimpleButton;//This needs SimpleButton
public function reception123() {
stop();//This needs MovieClip
Btn.enabled = true;//This needs SimpleButton
Btn.addEventListener(MouseEvent.MOUSE_DOWN, goSomewhere);
function goSomewhere(event:MouseEvent):void{
gotoAndStop(1);//This also needs MovieClip
}
}
}