//... okay, i have a button inside a flash movie that onRelease opens a browser window... i placed this code directly on each button to set that windows attributes is:
on (release) {
Movieclip.prototype.openWin1 = function(url, winName, w, h, toolbar, location, directories, status, menubar, scrollbars, resizable){
getURL("javascript:var myWin1;if (!myWin1 || myWin1.closed){myWin1=window.open('"+url+"', '"+winName+"', '"+"width="+w+", height="+h+", toolbar="+toolbar+", location="+location+", directories="+directories+", status="+status+", menubar="+menubar+", scrollbars="+scrollbars+", resizable="+resizable+", top='+0+', left='+150+'"+"')} else{myWin1.focus();};void(0);"); };
address = "yourwindowhere.html";
winName = "Your Window Name Here";
width = 375;
height = 375;
toolbar = 0;
location = 0;
directories = 0;
status = 0;
menubar = 0;
scrollbars = 0;
resizable = 0;
openWin1(address,winName,width,height,toolbar,location,directories,status,menubar,scrollbars,resizable);
}
//... easy enough. everything works great. window pops up fine in Safari & Firefox. Explorer gives me an error. "line 1 character 43. unrecognized character." or something to that degree... any clues?
on (release) {
Movieclip.prototype.openWin1 = function(url, winName, w, h, toolbar, location, directories, status, menubar, scrollbars, resizable){
getURL("javascript:var myWin1;if (!myWin1 || myWin1.closed){myWin1=window.open('"+url+"', '"+winName+"', '"+"width="+w+", height="+h+", toolbar="+toolbar+", location="+location+", directories="+directories+", status="+status+", menubar="+menubar+", scrollbars="+scrollbars+", resizable="+resizable+", top='+0+', left='+150+'"+"')} else{myWin1.focus();};void(0);"); };
address = "yourwindowhere.html";
winName = "Your Window Name Here";
width = 375;
height = 375;
toolbar = 0;
location = 0;
directories = 0;
status = 0;
menubar = 0;
scrollbars = 0;
resizable = 0;
openWin1(address,winName,width,height,toolbar,location,directories,status,menubar,scrollbars,resizable);
}
//... easy enough. everything works great. window pops up fine in Safari & Firefox. Explorer gives me an error. "line 1 character 43. unrecognized character." or something to that degree... any clues?