# Hide and show navigation?!

**URL:** <https://forum.kirupa.com/t/hide-and-show-navigation/265858>\
**Category:** Uncategorized\
**Created:** [July 13, 2008, 8:39pm UTC](https://forum.kirupa.com/t/hide-and-show-navigation/265858 "2008-07-13T20:39:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![benzrecordings](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/benzrecordings/32/1337_2.png) [@benzrecordings](https://forum.kirupa.com/u/benzrecordings)\
**Post date:** [July 13, 2008, 8:39pm UTC](https://forum.kirupa.com/t/hide-and-show-navigation/265858/1 "2008-07-13T20:39:16Z")

</div>

hi,  
I´m trying to build a navigation, that comes from the left of the stage when the user rolls over a left area. when the user leaves the area, that has flown out of the left you it should slide back.

I`m using the laco tweening class:

```auto
#include "lmc_tween.as"

this.nav_holder.active_area.onRollOver = function () {
    nav_holder.slideTo(-435,25,0.8,"easeOutSine",0);
    }
    

    
this.nav_holder.active_area.onRollOut = function () {
    nav_holder.slideTo(-756,25,0.8,"easeOutSine",0.2);
    }    

```

the whole navigation is in the MC “nav\_holder”

under the navigation there´s a MC “active\_area”. when you rollover the active area it slides out. and when you roll out, it slides back.

the problem is, that when I rollover a menupoint I´m rolling out the “active area” allthough I´m still over it…

is there an other possibility to solve this? i attached the fla example.
