Quiz_base will be the class where we will store all the common action, and all the other classes will be an extension of this class.
So Lets write this code inside Quiz_base.as
class com.quiz.Quiz_base extends MovieClip
{
public function Quiz_base()
{
}
}
Quiz will be the brain of our quiz. the istance of the classes will organize the events, and display the result
import com.quiz.*;
class com.quiz.Quiz extends Quiz_base
{
public function Quiz()
{
}
}
Lets do the same for the other two classes, changing just the name.