I have built a full page html document and in it there are multiple frames.

Yet when i try to use a flash button to close the window it only closes the windoe that the swf is in.

I am using the "javascript:window.close()" actionscript.

Is this the wrong one? What should it be?

thanks