# Control Multiple JavaScript Pop-Up Windows

**URL:** <https://forum.kirupa.com/t/control-multiple-javascript-pop-up-windows/190348>\
**Category:** flash\
**Created:** [June 10, 2006, 8:41pm UTC](https://forum.kirupa.com/t/control-multiple-javascript-pop-up-windows/190348 "2006-06-10T20:41:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JLS](https://avatars.discourse-cdn.com/v4/letter/j/cab0a1/32.png) [@JLS](https://forum.kirupa.com/u/JLS)\
**Post date:** [June 10, 2006, 8:41pm UTC](https://forum.kirupa.com/t/control-multiple-javascript-pop-up-windows/190348/1 "2006-06-10T20:41:32Z")

</div>

I am trying to launch 2 different JavaScript Centered Pop-Up Windows within a Flash movie. There is a main movie, then 2 other movies that load into the main. The main movie resides in the index page and all of the JavaScript is in the header.

I need one pop-up to load an FLV (movie.html) with NO SCROLL BARS…and the other to load a results.php page (results.php) WITH A VERTICAL SCROLL BAR only.

I have been referring to the a tutorial on the Kirupa Website [[http://www.kirupa.com/developer/flash8/centered\_popup\_window.htm](http://www.kirupa.com/developer/flash8/centered_popup_window.htm) ] but I’m not totally clear how to write with the properties in the Java Script to talk to these windows individually.

I would really appreciate any suggestions or direction!!!

Thanks!!!

JLS
