# Going back to the parent swf

**URL:** <https://forum.kirupa.com/t/going-back-to-the-parent-swf/162089>\
**Category:** Uncategorized\
**Created:** [September 9, 2005, 2:44pm UTC](https://forum.kirupa.com/t/going-back-to-the-parent-swf/162089 "2005-09-09T14:44:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![slobber](https://avatars.discourse-cdn.com/v4/letter/s/ecc23a/32.png) [@slobber](https://forum.kirupa.com/u/slobber)\
**Post date:** [September 9, 2005, 2:44pm UTC](https://forum.kirupa.com/t/going-back-to-the-parent-swf/162089/1 "2005-09-09T14:44:49Z")

</div>

I currently have a main swf that in the first frame calls and external swf. On this external swf there is an “agree” to terms button. when that is clicked i need to go to frame 2 of the parent swf.

this is the code i have attached to the button:

agree.onPress = function() {  
\_level0.gotoAndPlay(2);  
};

its not working… the external movie goes away… but im left with just the background of the parent. Any ideas?

thanks
