how can i add more menus and sub menus from this example?
sub_menu._y = (30-sub_menu._height);
Over = function () {
onEnterFrame = function () {
if (((this._xmouse>0 && this._xmouse<150) && this._ymouse>0) && this._ymouse<30) {
delete this.onEnterFrame;
Out();
sub_menu.tween("_y", 30, 1, "easeOutExpo");
}
};
};
Out = function () {
onEnterFrame = function () {
if (((this._xmouse>0 && this._xmouse<150) && this._ymouse>0) && this._ymouse<sub_menu._height+30) {
} else {
delete this.onEnterFrame;
Over();
sub_menu.tween("_y", (30-sub_menu._height), 1, "easeOutExpo");
}
};
};
Over();
here is the .fla :tb: