# onLoad swf issue

**URL:** <https://forum.kirupa.com/t/onload-swf-issue/172199>\
**Category:** flash\
**Created:** [December 12, 2005, 12:24pm UTC](https://forum.kirupa.com/t/onload-swf-issue/172199 "2005-12-12T12:24:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![blinking8s](https://avatars.discourse-cdn.com/v4/letter/b/258eb7/32.png) [@blinking8s](https://forum.kirupa.com/u/blinking8s)\
**Post date:** [December 12, 2005, 12:24pm UTC](https://forum.kirupa.com/t/onload-swf-issue/172199/1 "2005-12-12T12:24:31Z")

</div>

Ok, quick question on a weird issue for a New Media class for another student

So at first the entire flash website was build in one scene, but we’re trying to break up a part of it and load swf’s

so he has a button that loads a swf, but inside that swf, we cant close back and go to the scene of the original document where the button is

So from scene5, frame1, a button is present and when clicked it loads the swf

```auto

on (release) {
loadMovie("drumline.swf","drumline_mc")
}

```

Now the swf is loaded, pretty much smack on top of everything else, then at the top it has a back to menu button…buuut we cant get it to unload the swf and go back to that scene5, frame1.

Does anyone know the correct code to get to do this?
