var num_frames = _root._currentframe - 40 if(_root._currentframe > 21){ _root.gotoAndPlay(num_frames) } else{ _root.gotoAndPlay(2) }