# How to jump back to a specific frame in previous swf

**URL:** https://forum.kirupa.com/t/how-to-jump-back-to-a-specific-frame-in-previous-swf/153209
**Category:** Uncategorized
**Created:** [June 29, 2005, 10:10pm UTC](https://forum.kirupa.com/t/how-to-jump-back-to-a-specific-frame-in-previous-swf/153209 "2005-06-29T22:10:22Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![helloKitty](https://avatars.discourse-cdn.com/v4/letter/h/ecccb3/32.png) [@helloKitty](https://forum.kirupa.com/u/helloKitty)
#### Post date: [June 29, 2005, 10:10pm UTC](https://forum.kirupa.com/t/how-to-jump-back-to-a-specific-frame-in-previous-swf/153209/1 "2005-06-29T22:10:22Z")

</div>

dreeft’s suggestion at [http://www.kirupa.com/forum/showthread.php?t=92245](http://www.kirupa.com/forum/showthread.php?t=92245) sounds great but i’m having a helluva time getting it to work.

i have a clip that i split into 2 separate “slide show style” swf files because of the size. i’ll call them firstHalf.swf and secondHalf.swf. in firstHalf.swf, i labeled the last frame, “last”. in secondHalf.swf, i labeled the last frame, “jumpBack”.

i have buttons that link the previous and next frames in each swf.

i am trying to get the “previous” button from frame one of secondHalf.swf to link back to the last frame of firstHalf.swf.

on the button instance of this “previous” button in secondHalf.swf, i placed the following action:

on(release){  
\_root.gotoAndPlay(“jumpBack”);  
}

i created a keyframe in the last frame of secondHalf.swf and labeled it “jumpBack”. i created an empty movie clip symbol, named it “prevMC\_mc” and dragged this empty movie clip symbol into this “jumpBack” frame and gave it an instance name of “prevMC\_mc”. i then selected this instance and entered the following action to the movie clip instance:

onClipEvent(enterframe){  
this.loadMovie(“firstHalf.swf”);  
this.gotoAndPlay(“last”);  
}  
//targeting the last frame of firstHalf.swf

when i do a control \> test movie for secondHalf.swf, the “previous” button on frame one of secondHalf.swf doesn’t work. it simply refreshes to frame one of secondHalf.swf.

if i add stop (); to the jumpBack frame in secondHalf.swf, the “previous” button takes me to firstHalf.swf, but to the first frame, rather than the last frame.

i apologize if my description of the problem is confusing. can anyone offer suggestions? thank you very, very much!
