# External swf loading problem

**URL:** https://forum.kirupa.com/t/external-swf-loading-problem/131970
**Category:** Uncategorized
**Created:** [December 21, 2004, 6:54pm UTC](https://forum.kirupa.com/t/external-swf-loading-problem/131970 "2004-12-21T18:54:13Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![SlowRoasted](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@SlowRoasted](https://forum.kirupa.com/u/SlowRoasted)
#### Post date: [December 21, 2004, 6:54pm UTC](https://forum.kirupa.com/t/external-swf-loading-problem/131970/1 "2004-12-21T18:54:13Z")

</div>

ok, I have two buttons that have no animation on them that are working fine, when you press them they play an outro animation an load an another swf into a container. the problem is with the buttons that have animation on them i cant get them to load the swf when i press the button.

```php

on (release) { 
if (_root.currMovie == undefined) { 
_root.currMovie = "nerve"; 
container.loadMovie("nerve.swf"); 
} else if (_root.currMovie != "nerve") { 
if (container._currentframe >= container.midframe) { 
_root.currMovie = "nerve"; 
container.play(); 
} 
} 
} 

```

here is the link to my files

[http://www.christiandesign.net/BrainSite.zip](http://www.christiandesign.net/BrainSite.zip)
