Pop up (window) problems

I was looking through an old thread on pop up windows that suggested a FLASH KIT tutorial. I thought it would be great to have the code inside of Flash instead of the HTML file but…

this code

imaged.onRelease = function() {
getURL (“javascript:NewWindow=window.open(‘JasperPoolZ.jpg’,‘newWin’,‘width=186,height=270,left=0,top=0,
toolbar=No,location=No,scrollbars=No,status=No,res
izable=No,fullscreen=No’); NewWindow.focus();
void(0);”);
}

gives me this error message

toolbar=No,location=No,scrollbars=No,status=No,res
izable=No,fullscreen=No’); NewWindow.focus();

Symbol=images, Layer=zoomactions, Frame=10: Line 4: ‘;’ expected
void(0);");

any idea what I’m doing wrong?


imaged.onRelease = function() {
	getURL("java<I></I>script:NewWindow=window.open('JasperPoolZ.jpg','newWin','width=186,height=270,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No'); NewWindow.focus();void(0);");
};

I did that and recieved no error.

Make sure you don’t have that line wrap in your code.

no wrap …I must have button issues or another rookie mistake of sorts.

thanks for trying