Hi,
I am at my wits end, having posted this question on various boards, phrased various ways. Here is the script I have on my button in my swf:
on (release) {
getURL("javascript:window.open('http://www.myurl.com/mymovie.mov','Intro','width=320,height=240,top=0,l eft=0'); void(0);");
}
Notice that I am trying to load a Quicktime .mov file. No matter which incarnation of this script I have used, and I have used several, I consistently get this error in my browser (IE):
Line: 1
Char: 1
Error: Invalid argument
Code: 0
URL:javascript.window.open('http://www.myurl.com/mymovie.mov','Intro','width=320,height=240,top=0,l eft=0');%20void(0);
Now if I just go to my address bar in IE and type in the URL, I can pull up the movie, albeit not in a small window like I would like. Something else I just noticed, if I go the popped up window that my button created (it does open a new window, just wont play the damn movie) and type in the URL, it wont work.
Is this a javascript/Quicktime problem? Thanks in advance!
Quote:
Originally posted by GreatGooglyWoogly
Again: Open an Absolute Link: Use the http:// and the http://www.and the YOURSITE.COM/YOURPAGE.HTML.
Also, I recommend opening the HTML file rather than the SWF - it is more stable that way.
Seems like a lot of peeps are having a hard time making this work, so here is proof:
[swf width="100" height="40" background="#FFFFFF"]http://www.jadrienbell.com/Footer/OpenWindow.swf[/swf] .
And, here is the FLA file too for download:
http://www.jadrienbell.com/Footer/OpenWindow.FLA
Hopefully that will help everyone! :)
