I'm stuck with making drop down menu.
Hello everyone.
I'm making drop down menu follwing these tutorials https://www.youtube.com/watch?v=xE7hPe8KFVw
But after typing code it doesn't work. (The tutorial is AS3 but I have to use AS2 due to my uni project.)
The code I typed is ;
import fl.transitions.Tween;
import fl.transitions.easing.Regular;
import fl.transitions.easing.Elastic;
stop();
menu_con.korea_rect.visible = false;
menu_con.korea_btn.addEventListener(MouseEvent.MOUSE_OVER, koreaMouseOver);
menu_con.korea_rect.addEventListener(MouseEvent.MOUSE_OUT, koreaMouseOut);
function koreaMouseOver(event:MouseEvent):Void{
var koreaSubTween:Tween = new Tween(menu_con.korea_sub, "y", Regular.easeOut, menu_con.korea_sub.x, 175, .5, true);
}
function koreaMouseOut(event:MouseEvent):Void{
var koreaSubTween2:Tween = new Tween(menu_con.korea_sub, "y", Regular.easeOut, menu_con.korea_sub.x, 24.5, .5, true);
}
---
But 'stop' didn't work so it's still visible, and the code doesn't work at all.
Does anyone know any solutions including making drop down menu different way.
Thanks
