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
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;
}