# Multiples menus and sub menus

**URL:** <https://forum.kirupa.com/t/multiples-menus-and-sub-menus/236598>\
**Category:** Uncategorized\
**Created:** [August 22, 2007, 3:27am UTC](https://forum.kirupa.com/t/multiples-menus-and-sub-menus/236598 "2007-08-22T03:27:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lolomedia](https://avatars.discourse-cdn.com/v4/letter/l/ebca7d/32.png) [@lolomedia](https://forum.kirupa.com/u/lolomedia)\
**Post date:** [August 22, 2007, 3:27am UTC](https://forum.kirupa.com/t/multiples-menus-and-sub-menus/236598/1 "2007-08-22T03:27:52Z")

</div>

how can i add more menus and sub menus from this example?

```auto

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:
