# How to Navigate deep in flash!

**URL:** <https://forum.kirupa.com/t/how-to-navigate-deep-in-flash/241856>\
**Category:** flash\
**Created:** [October 18, 2007, 7:51pm UTC](https://forum.kirupa.com/t/how-to-navigate-deep-in-flash/241856 "2007-10-18T19:51:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![m00nz00mer](https://avatars.discourse-cdn.com/v4/letter/m/4af34b/32.png) [@m00nz00mer](https://forum.kirupa.com/u/m00nz00mer)\
**Post date:** [October 18, 2007, 7:51pm UTC](https://forum.kirupa.com/t/how-to-navigate-deep-in-flash/241856/1 "2007-10-18T19:51:19Z")

</div>

Hey, ok heres the criac… Im building a flash app that has variouse movs embedded in the one file.

Basically i have 2 frames on my main time line…  
within one of those frames i have a movie clip with the instance name ‘pan’ and within ‘pan’ i have a button and a movie clip called ‘inpan’. Basically what i want is when someone clicks on the button (inside pan) i want the movieclip ‘inpan’ to jump to the second frame…

the action im trying to add to the button is…

inpan.gotoAndPlay(2);

but it obviously doesnt work… and its not \_root.inpan.goto… because that would be for the main timeline…

how can i nav to that movie clip?

help me please 🙂
