[FONT=“Arial”]Hi,
I have a problem. I have a flash movie that uses Actionscript 3.0 but the file I need to add it to uses Actionscript 2.0, so many of its functions do not work.
Can anyone give me an AS2.0 solution to my AS3.0 below?
Thanks!
[/FONT]
[FONT=“Verdana”]stop();
this.mymovie_mc.buttonMode=true;
this.mymovie_mc.addEventListener(MouseEvent.MOUSE_OVER, gotoover);
this.mymovie_mc.addEventListener(MouseEvent.MOUSE_OUT, gotoup);
this.mymovie_mc.addEventListener(MouseEvent.MOUSE_DOWN, gotodown);
this.mymovie_mc.addEventListener(MouseEvent.MOUSE_UP, backtoover);
function gotoover (Event:MouseEvent):void{
this.mymovie_mc.gotoAndStop(“over”);
}
function gotoup (Event:MouseEvent):void{
this.mymovie_mc.gotoAndStop(“up”);
}
function gotodown (Event:MouseEvent):void{
this.mymovie_mc.gotoAndStop(“down”);
}
function backtoover (Event:MouseEvent):void{
this.mymovie_mc.gotoAndStop(“over”);
}
stage.addEventListener(Event.MOUSE_LEAVE, leavehandler);
function leavehandler (Evt:Event):void{
this.mymovie_mc.gotoAndStop(“up”);
}[/FONT]