# Complex button

**URL:** <https://forum.kirupa.com/t/complex-button/152143>\
**Category:** Uncategorized\
**Created:** [June 21, 2005, 5:46pm UTC](https://forum.kirupa.com/t/complex-button/152143 "2005-06-21T17:46:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jusko](https://avatars.discourse-cdn.com/v4/letter/j/0ea827/32.png) [@jusko](https://forum.kirupa.com/u/jusko)\
**Post date:** [June 21, 2005, 5:46pm UTC](https://forum.kirupa.com/t/complex-button/152143/1 "2005-06-21T17:46:59Z")

</div>

Hey everybody! i’m using this code and it works perfect:

stop();  
this.onEnterFrame = function() {  
if (rewind == true) {  
prevFrame();  
}  
};  
this.onRollOver = function() {  
rewind = false;  
play();  
};  
this.onRollOut = function() {  
rewind = true;  
};  
this.onRelease = function() {  
getURL(“[http://www.whatever.com/base.html](http://www.whatever.com/xaminca/base.html)”, “\_blank”);  
};

so far so good… but if i want instead of getURL, i put:  
loadMovie(“products.swf”, “container”);

so that the “products.swf” would load into a emptymovieclip named “container” that is in my maintimeline, nothing happens…it just dont work??  
any suggestions?

thanks a million
