how do i stop animation at the end of a labeled frame, and leave available buttons active/executable?

i have my labeled frames in their own layer......if that helps...

and these lines of code dont seem to be working on my navigation buttons
-----------------
on (release) {

gotoAndPlay(expand);

}
------------------