Say I make a class that extends the movieclip class and this class has a number of buttons in it. This movie clip exists in an .fla and is linked to the class definition. How can I control the events from within the class? The following does not work:
class newMovie extends MovieClip {
var test_btn:Button;
function newMovie() {
}
function test_btn.onRelease() {
trace("Button pressed");
}
}