# Javascript/Flash Help

**URL:** <https://forum.kirupa.com/t/javascript-flash-help/144352>\
**Category:** Uncategorized\
**Created:** [April 13, 2005, 4:20pm UTC](https://forum.kirupa.com/t/javascript-flash-help/144352 "2005-04-13T16:20:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Granata](https://avatars.discourse-cdn.com/v4/letter/g/71e660/32.png) [@Granata](https://forum.kirupa.com/u/Granata)\
**Post date:** [April 13, 2005, 4:20pm UTC](https://forum.kirupa.com/t/javascript-flash-help/144352/1 "2005-04-13T16:20:45Z")

</div>

Hello,

I am working on a site that, so far, works like this:

When you go to the site a new window is opened. This main window _is_ the site. The first window stays open behind the main window.

What I would like to happen is load a SWF in the _first_ window but not play it until the user _closes_ the main window.

I have poked around enough to realize that Javascript might be the way to go here. Unfortunately my knowledge of Javascript is limited to cutting and pasting. Any help would be much appreciated.
