|LAUNCHING A NEW WINDOW|
Technique One: FSCommand
Windows 3.1 browsers
Mac 68K Browsers
IE 2.0 or Netscape 2.0 on any platform
The window.open method is so buggy in Netscape when used with FSCommand that it is impossible to open a new window via FSCommand with that browser. In Netscape, when the function that executes window.open is called from Flash, the browser executes the function, but does not execute the window.open line. An alert tells us that the window launching function is being called properly. Strangely, when the URL in the window.open method is set to "", Netscape does actually launch the window, but it launches it without content, making it useless [see demonstration].
As verification that the code in the window function is not causing the problem, we can test the function using the HTML button below. When called from the HTML form, the window function launches the new window normally.
Dave Livesay actually has a clever little workaround to the Netscape problem. He describes it in his article Getting Started with FSCommand. Essentially, he suggests enclosing the window.open statement inside a setTimeout that is set to 0, as in:
However, in addition to the Netscape bug, the FSCommand technique is not well supported because it requires ActiveX or LiveConnect to work, which means that only users of Windows95/NT and Mac PPC can access content that uses FSCommand. (Note that in Netscape, Flash 3 requires LiveConnect to be enabled in the EMBED tag of movies that use FSCommand. To use FSCommand with Netscape, you must include this attribute in your EMBED tag: swLiveConnect="true".)
Even if we only wanted to address a Win95NT/MacPPC audience, the Netscape bug in window launching makes Technique One pretty undesirable. IE3 and IE4 both work properly with FSCommand.
to technique two