How to Navigate deep in flash!

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 :slight_smile: