# Simple actionScript question

**URL:** https://forum.kirupa.com/t/simple-actionscript-question/277602
**Category:** flash
**Created:** [December 14, 2008, 6:36pm UTC](https://forum.kirupa.com/t/simple-actionscript-question/277602 "2008-12-14T18:36:43Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![cgiblin](https://avatars.discourse-cdn.com/v4/letter/c/3d9bf3/32.png) [@cgiblin](https://forum.kirupa.com/u/cgiblin)
#### Post date: [December 14, 2008, 6:36pm UTC](https://forum.kirupa.com/t/simple-actionscript-question/277602/1 "2008-12-14T18:36:43Z")

</div>

Hello,

This should be very simple, I just don’t know what I am missing. I am creating a drop down menu. When a button on the menu is clicked I want it to take you to the appropriate part of a MC on a specific scene.

Here is my code:  
on (release) {  
gotoAndPlay(“closed2”);  
\_root.gotoAndPlay(“enviroxFade”);  
\_root.enviroxThink.gotoAndPlay(2);  
}

It will always take me to the “enviroxFade” label. The only time it will take me all the way is if I am in that current scene. If I am in another scene, it won’t take me to the instance of “envioroxThink.”

I can’t figure out why it only works if I am in the scene where the MC is located. I have spent so much time trying to figure out this problem,. Any help would be really appreciated.

Thanks,  
Casey
