GOAL: to play the remaining frames of my movie before going back to previous frame..

help me on this script pls

on(release) {
gotoAndPlay(40); // to unload the buttons moving up the screen
unloadmovie(this._parent.DisplayAreaIN); //to unload my external movie
this._parent.prevFrame(); //to go back to previous frame

my prob is.. when i release i no longer see the animation of the buttons to go up.. it goes back to the previous frame..