# Loading swf

**URL:** https://forum.kirupa.com/t/loading-swf/207524
**Category:** Uncategorized
**Created:** [November 18, 2006, 2:52pm UTC](https://forum.kirupa.com/t/loading-swf/207524 "2006-11-18T14:52:00Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![hedake](https://avatars.discourse-cdn.com/v4/letter/h/ed8c4c/32.png) [@hedake](https://forum.kirupa.com/u/hedake)
#### Post date: [November 18, 2006, 2:52pm UTC](https://forum.kirupa.com/t/loading-swf/207524/1 "2006-11-18T14:52:00Z")

</div>

okay so i’m trying to load external .swf’s into an empty movie clip when clicking on my buttons. the external .swf files are my individual pages.

the actions on the buttons are:

```auto

on(release){
_root.content.loadMovie("whatever.swf")
}

```

(“content” is the instance name of the empty movie clip)

but my empty movie clip loads the first page when the site loads and it has this action on it:

```auto

onClipEvent (load) {
	loadMovie("home.swf",1);

}

```

i think my problem may lie in that when i click the button it is targeting that empty movie clip but runs into the actions that tell it to load home.swf because every time i click a button it just loads home.swf again. i don’t know how i would go about fixing this. any help is appreciated. thank you in advance.
