# Javascript pop ups in flash

**URL:** <https://forum.kirupa.com/t/javascript-pop-ups-in-flash/100284>\
**Category:** Uncategorized\
**Created:** [January 27, 2004, 8:38pm UTC](https://forum.kirupa.com/t/javascript-pop-ups-in-flash/100284 "2004-01-27T20:38:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sci](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@sci](https://forum.kirupa.com/u/sci)\
**Post date:** [January 27, 2004, 8:38pm UTC](https://forum.kirupa.com/t/javascript-pop-ups-in-flash/100284/1 "2004-01-27T20:38:57Z")

</div>

good evening.

I would appreciate some help if poss.

I’m working on a simple flash site which loads sections of content into layers.  
Which all works fine.

I’ve then put a button on this loaded content that I want to activate a flash movie in a new browser. I want this browser to have no buttons etc and be perfectly sized for the movie (which is quite small 800 x 500) and to appear on top.

Do I put the following Javascript on the main flash movie that I’m loading the content into or on the new movie?

\<SCRIPT LANGUAGE=“JavaScript”\>  
\<!-- Begin  
function Launch(page) {  
OpenWin = this.open(page, “KirupaStyle”, “toolbar=no,menubar=no,location=no,scrollbars=no,resizable=yes,width=800,height=500”);  
}  
// End --\>  
\</SCRIPT\>

I’m a bit puzzled as nothing seems to make a difference.

many thanks
