# Problems with opening a new window... beginner!

**URL:** https://forum.kirupa.com/t/problems-with-opening-a-new-window-beginner/137920
**Category:** Uncategorized
**Created:** [February 18, 2005, 12:06pm UTC](https://forum.kirupa.com/t/problems-with-opening-a-new-window-beginner/137920 "2005-02-18T12:06:29Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![bobsabbagh](https://avatars.discourse-cdn.com/v4/letter/b/b9bd4f/32.png) [@bobsabbagh](https://forum.kirupa.com/u/bobsabbagh)
#### Post date: [February 18, 2005, 12:06pm UTC](https://forum.kirupa.com/t/problems-with-opening-a-new-window-beginner/137920/1 "2005-02-18T12:06:29Z")

</div>

Hi All,

I am new to Flash. Here is my problem:

I have a **self-running** movie (not in the browser). In this movie, I need to have a button that will open another swf movie in a new window without the Browser toolbars also.

I tried using this JavaScript code:  
[color=red]javascript:window.open(‘quiz.swf’,‘Quiz’,‘width=200,height=200,left=300,top=300,scrollbars=no,resizable’);[/color]

But when I click on the button, I get something that opens than closes again very quickly. I guess this is because I am not using it in a browser.

Is there a solution for this?

Thank you  
Bob
