Topic: Close window button.

Hi and thanks for looking.  I have read the post here ( and the posts referenced within that one) about the back button.  I'm wondering how easy it would be to have a close window button, and if some of the code could be changed from the current layout (maybe editing the BACK button to be close, and then what code would be used ...either of these (which I got from the net):
on (release) {
getURL ("javascript:window.opener=self;window.close()" );


<input type="button" value="Close this window" onclick="self.close()">  <----creates button
<a href="JavaScript:window.close()">Close</a>

Any ideas on if this is possible?  Currently gallery opens from flash to new window or tab and just want to give some clueless people the close window option.

How would I go about doing this?


PS:  I saw this archive post ( ) but it doesn't seem to have been answered and especially how to attach to a specific premade button in simpleviewer, or where to place a newly created button, what to name it, and how to implement the code.


Last edited by jfish (2010-02-16 22:16:25)