# Anyone have an idea as to what could be going wrong?

**URL:** <https://forum.kirupa.com/t/anyone-have-an-idea-as-to-what-could-be-going-wrong/290386>\
**Category:** Uncategorized\
**Created:** [June 13, 2009, 7:47pm UTC](https://forum.kirupa.com/t/anyone-have-an-idea-as-to-what-could-be-going-wrong/290386 "2009-06-13T19:47:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![icekomo](https://avatars.discourse-cdn.com/v4/letter/i/bcef8e/32.png) [@icekomo](https://forum.kirupa.com/u/icekomo)\
**Post date:** [June 13, 2009, 7:47pm UTC](https://forum.kirupa.com/t/anyone-have-an-idea-as-to-what-could-be-going-wrong/290386/1 "2009-06-13T19:47:28Z")

</div>

I have this code:  
var menuArea:menuAreaScene = new menuAreaScene();

function clicked(event:Event):void  
{  
if(event.currentTarget == menuBtn)  
{  
addChild(menuArea);  
menuArea.x = 21;  
menuArea.y = 60;  
menuArea.alpha = 0;  
menuBtn.addEventListener(Event.ENTER\_FRAME, fadeIn);  
}  
}

function fadeIn(event:Event):void  
{  
menuArea.alpha += .050;  
if(menuArea.alpha \>= 1)  
{  
menuArea.removeEventListener(Event.ENTER\_FRAME, fadeIn);  
}

}  
menuBtn.addEventListener(MouseEvent.MOUSE\_DOWN, clicked);

basically I have \_mc that I call into the project for my main menu.  
everything works, but the clip that I am calling in now is not on the right y number. Right now it’s set to 60, but I need it set to 49, but when I set it to 49 my menu stops working. Nothing works, no roll over no buttonMode no nothing. Really strange and I can’t seem to figure it out. Like I said before… where it’s at now at y= 60 it works great… but I move it to y= 49 it stops the menu above it from working. really strange… any one have any ideas? I have been fooling around with this all morning, and no luck!
