# HELP: AS2 Loading External Movie Not Working

**URL:** <https://forum.kirupa.com/t/help-as2-loading-external-movie-not-working/329716>\
**Category:** flash\
**Created:** [October 6, 2012, 1:22pm UTC](https://forum.kirupa.com/t/help-as2-loading-external-movie-not-working/329716 "2012-10-06T13:22:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BUroKHUli](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/burokhuli/32/190_2.png) [@BUroKHUli](https://forum.kirupa.com/u/BUroKHUli)\
**Post date:** [October 6, 2012, 1:22pm UTC](https://forum.kirupa.com/t/help-as2-loading-external-movie-not-working/329716/1 "2012-10-06T13:22:25Z")

</div>

HI guys,

I am making a small school project and I copied one tutorial here about cool rollover. The thing is, when I added an AS that loads an external movie (which I also copied here) it’s not working.

Can you tell me, point me to the right direction here?

Please take a look at my source files.

WEB: [http://www.allanrestauro.com/downloads/pub/web.zip](http://www.allanrestauro.com/downloads/pub/web.zip)  
FLA: [http://www.allanrestauro.com/downloads/pub/interface3.fla.zip](http://www.allanrestauro.com/downloads/pub/interface3.fla.zip)

I copied an AS from this kirupa link:  
[http://www.kirupa.com/developer/mx2004/button\_effect.htm](http://www.kirupa.com/developer/mx2004/button_effect.htm)

I spent all day and my script just don’t work!

```php
//all this code is inside the complex button so you can stick as many as you want 
//on the stage and all will work.. they all will have this code in it..

stop(); // stop the movie clip from playing (stop button from growing, we want that when the mouse rolls over only
											 
this.onEnterFrame = function(){
	if(rewind == true){ //if rewind switch is set to true play backwards
		prevFrame(); // play backwards
	}
}

this.onRollOver = function(){
	rewind = false; //set variable (or switch) that decides wether ot not to play backwards...
	play(); // play this movie clip.. (grow the button(tween));
}

this.onRollOut = function(){
	rewind = true; //set or rewind switch to true so it will play backwards...
}

this.onRelease = function(){
	container_mc.loadMovie('swf/contact.swf','0');
}

```

take note of the ON.RELEASE function in the AS.

thank you 🙂
