Hello,
I want to make ActionScript 2 component. I have one movie clip (my component). Inside it I have ComboBox with instance name myMovieClip. The class associated with component is
I want to work with event change of the ComboBox. If I put it on the ComboBOx instance like this:
it works OK but how to get it in my class? I tried with method
but it just doesn't work
Please help.
Thank you
I want to make ActionScript 2 component. I have one movie clip (my component). Inside it I have ComboBox with instance name myMovieClip. The class associated with component is
Code:
class mypackage.MyComponent extends Object{
static var symbolName:String = "parser.Deroulateur";
static var symbolOwner:Object = parser.Deroulateur;
private var myMovieClip:MovieClip;
function MyComponent(){
}
function change():Void{
trace("change");
}
}
I want to work with event change of the ComboBox. If I put it on the ComboBOx instance like this:
Code:
on(change){
trace("change");
}
Code:
function change():Void{
trace("change");
}
but it just doesn't work
Please help.
Thank you