Im trying to open a blank window from a button in a flash movie and specify it's width and height using the following code:
code:

getURL("javascript:window.open('http://www.newwindow.com','newwindow','width=300, height=300');","new");


This works for the most part BUT.. for some reason it opens two windows as apposed to only one. One of the windows displays [ object ] or something and the other one launches like i intended. I'd really prefer that only the one window launched. I realize an alternative would be to put a javascript function in the head of the html file and call it but I'd much rather be able to do it this way. Any help would be much appreciated. Thanks!