Close HTML window with actionscript

this may seem like a ridiculous question, but how does\rone go about closing an html window using a flash button.\rI can’t seem to figure it out.\r\rthanks\rNate

   on (release) {\r\rgetURL ("javascript:closeWindow()" )  ;\r\r}

In the HTML code :

   (script LANGUAGE="JavaScript" )\r\rfunction closeWindow(){\r\rwindow.close()\r\r}\r\r(/script)

Change () into <> in the HTML tag ‘script’.\r\rpom 0]

You’ll get an alert though if you try to close the main browser from a pop-up.

That’s not what I’m doing, Eyez. Or maybe you were not talkin’ to me.\r\rpom 0]