# Opening pop up window within a container

**URL:** https://forum.kirupa.com/t/opening-pop-up-window-within-a-container/196172
**Category:** flash
**Created:** [August 6, 2006, 9:42am UTC](https://forum.kirupa.com/t/opening-pop-up-window-within-a-container/196172 "2006-08-06T09:42:13Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![swestre](https://avatars.discourse-cdn.com/v4/letter/s/cdc98d/32.png) [@swestre](https://forum.kirupa.com/u/swestre)
#### Post date: [August 6, 2006, 9:42am UTC](https://forum.kirupa.com/t/opening-pop-up-window-within-a-container/196172/1 "2006-08-06T09:42:13Z")

</div>

Hi, i have a small problem. i followed the centered pop up window tutorial and it worked. but when that page was placed inside a container, the pop ups didn’t work and i got an error message. so my current set up is, i have my main movie, and i have a container within that movie that opens up the page with the links for the pop up. how do i get them to work? please help.

the instance name for the container is “contents”

heres the code:

btn\_1.onRelease = function() {  
getURL(“javascript:Launch('[http://www.website.com/something.html](http://www.website.com/something.html), 400, 300)”);  
};
