# Pop Up Actionscript Menu

**URL:** https://forum.kirupa.com/t/pop-up-actionscript-menu/268040
**Category:** flash
**Created:** [August 8, 2008, 3:38pm UTC](https://forum.kirupa.com/t/pop-up-actionscript-menu/268040 "2008-08-08T15:38:12Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![anix](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@anix](https://forum.kirupa.com/u/anix)
#### Post date: [August 8, 2008, 3:38pm UTC](https://forum.kirupa.com/t/pop-up-actionscript-menu/268040/1 "2008-08-08T15:38:12Z")

</div>

hi i am currently trying to make a menu that sits at the bottom of the screen and the user can only see the word menu and the top bar of the menu and i want it to move up revieling the full menu when the user rolls over the menu, so i have designed some code that i thought would accomplish this for me, but the code is not working for me for some reason, i dont get any errors and i cant spot the problem its prob sommit easy and i need help lol! thanks

```auto

var heightNum:Number = new Number();

heightNum = 595;

menuHolder.x = 0;//This sets the x co-ordinates of the menuHolder

menuHolder.y = heightNum;//This sets the y co-ordinates of the menuHolder

menuHolder.width = stage.stageWidth;//This sets the width of the menuHolder

menuHolder.height = stage.stageHeight / 2.5;//This sets the height of the menuHolder

menuHolder.addEventListener(MouseEvent.MOUSE_OVER, menuOver);//this event listener looks out for the rollover on the menuHolder item 
menuHolder.addEventListener(MouseEvent.MOUSE_OVER, menuOut);//this event listener looks out for the rollout on the menuHolder item

function menuOver(evt:MouseEvent):void{
    
    heightNum = 420;
    
}

function menuOut(evt:MouseEvent):void{
    
    heightNum = 595;
    
}

```
