Flash has an nice concept called 'Scene', using which you separate a full movie into various scenes logically and then work on them. This enables the developer from going insane over the countless layers and frames that they have to jump to. One problem I faced with scene jumping with the recent work is that, when you are gotoAndPlay'ing to a scene from the topmost scene it works pretty well, but the problem arises when you have to jump to a different scene from inside of some object placed somewhere else in the movie it simply doesnt work.
After doing some googling I found this FAQ section which explained about the concept of scenes and a way to overcome the drawback. To put a long story short, hen exporting your fla into swf flash just concatinates all scenes one after another into a full length movie. So after exporting there isnt anything called a 'scene' present in the swf and thats the reason objects at innermost level are not able to execute the gotoAndPlay or gotoAndStop functions for scene based jumping. To overcome this drawback we just have to place a label frame to where it has to jump (basically I name it same as the scene itself) and then call the gotoAndPlay("<labelName>") to move the player head.
In flash 2004 macromedia has introduced new concepts named Screens and Forms which dont have the above mentioned drawback, but as I was working on a older file I had to come across this issue.