Help with gotoAndPlay w/ nested movie clips

Hi there! I’m just migrating to AS3 from AS2. I think I have some syntax issue with how I’m handling gotoAndPlay in AS3 . I have my main stage, then a movie symbol called Copenagen. In the Copenhagen symbol is a symbol called closeb, but it doesn’t really work… Take a look at [COLOR=#800080]http://www.cullend.com/portfolio.html[/COLOR] – click the first piece of paper at the bottom. Notice the dot in the top right – it’s a temp close button. Clicking it just replays the ‘up’ animation :confused: any help at all is greatly appreciated.

If you want to look at the actual .FLA [COLOR=#0066cc]http://www.cullend.com/portfolio.zip[/COLOR] has the .FLA

I’m about to be out of a job due to layoffs so just trying to get my portfolio up as quickly as possible for potential employers. So any help that anyone can give is greatly, greatly, greatly appreciated.

On my main timeline I have:

 
copenhagen.addEventListener(MouseEvent.CLICK, onClick1);
function onClick1(MouseEvent):void
{
   if(space==0){
      copenhagen.gotoAndPlay('up');
      space = 1;
      opened = "copenhagen";
   }
   else if(space==1){
      newopen = "copenhagen";
      opened.gotoAndPlay('unloaded');
   }
}

copenhagen.closeb.addEventListener(MouseEvent.CLICK, onClickcb); 
   function onClickcb(MouseEvent):void { 
copenhagen.gotoAndPlay('down') space = 0; 
}