Problems with opening a new window... beginner!

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:

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