External swf path issue

currently fooling around with http://www.kirupa.com/developer/mx2004/transitions2.htm

there is a note stating:[INDENT][FONT=Arial][SIZE=2][SIZE=2]If your buttons are not located on the main timeline, you will have to change the path to the container movieclip. In this example the buttons are located on the main timeline, therefore ‘container’ targets the container movieclip correctly. Though, if they are not on the main timeline, you must change container to the appropriate path.

[/SIZE][/SIZE][/FONT][/INDENT]this is exactly what i am trying to do. i have buttons within the swf that has been loaded. how do i alter the button code to make it follow the correct path?


on (release)                     { if                        (_root.currMovie                       ==                        undefined)                       { _root.currMovie                         =                          "work"; container.loadMovie("work.swf");                         }                          else if                         (_root.currMovie                         !=                          "work")                         { if                         (container._currentframe                         >=                          container.midframe)                         { _root.currMovie                           =                            "work"; container.play();}}}
 
 
 
 
 

-furley