# If (somethin==#) problem in menu

**URL:** <https://forum.kirupa.com/t/if-somethin-problem-in-menu/159532>\
**Category:** Uncategorized\
**Created:** [August 18, 2005, 5:18am UTC](https://forum.kirupa.com/t/if-somethin-problem-in-menu/159532 "2005-08-18T05:18:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kingofnukes](https://avatars.discourse-cdn.com/v4/letter/k/9d8465/32.png) [@kingofnukes](https://forum.kirupa.com/u/kingofnukes)\
**Post date:** [August 18, 2005, 5:18am UTC](https://forum.kirupa.com/t/if-somethin-problem-in-menu/159532/1 "2005-08-18T05:18:43Z")

</div>

Hi and thanks for taking the time to take a look at this post.

Well…

I’m designing a new layout for my flash site, and a new this I added is fade/enlarge in menus. The problem is that i tried using my novice actionscripting to tell the "box movieclip to goto a certain frame when it zooms in based on which button was pressed on the nav bar. For right now I made a crude solution by eliminating the zooming out, but it ruins the effect’s look so i’m ask for help on it now.

On my buttons i have codes like this:

on (release) {  
\_root.list.gotoAndPlay(“close”);  
(\_global.select == 1);  
}

and on the zoom in frames i have:  
if (\_global.select == 1) {  
\_root.list.box.gotoAndStop(“home”);  
}  
if (\_global.select == 2) {  
\_root.list.box.gotoAndStop(“movies”);  
}

What am I doing wrong?
