# MC Complex button pop up window

**URL:** https://forum.kirupa.com/t/mc-complex-button-pop-up-window/169418
**Category:** flash
**Created:** [November 16, 2005, 5:23am UTC](https://forum.kirupa.com/t/mc-complex-button-pop-up-window/169418 "2005-11-16T05:23:36Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![aoh](https://avatars.discourse-cdn.com/v4/letter/a/e495f1/32.png) [@aoh](https://forum.kirupa.com/u/aoh)
#### Post date: [November 16, 2005, 5:23am UTC](https://forum.kirupa.com/t/mc-complex-button-pop-up-window/169418/1 "2005-11-16T05:23:36Z")

</div>

Hi,

I have created a few set of complex button using this [MC complex button tutorial](http://www.kirupa.com/developer/mx2004/button_effect.htm) .

Was wondering if it’s possible to change this:

//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.kirupa.com](http://www.kirupa.com)”,"\_blank");  
}**

The getURL part, into a popup window? I tried many ways by combining different tutorial’s script to get the effect, but it does not work.

Can anyone help?

[edit] - I want a specific size pop up window. Not really sure how to make the javascipt works, cause I tried and it didn’t work.

Thanks alot.

Regards,  
Karen.
