you can use events.

in the main timeline, set up a listener:

PHP Code:
addEventListener("myEvent"handlerfalse0true);
function 
handler(event:Event):void{
  
// react however you want...
  
gotoAndPlay(32);

then from the frame in the nested clip, dispatch that event:

PHP Code:
var e:Event = new Event("myEvent"true); // make sure it bubbles - 2nd argument should be "true"
dispatchEvent(e); 
i used simple string event-types here for simplicity; best-practice would be to use custom events.