all groups > flash actionscript > february 2005 >
You're in the

flash actionscript

group:

close window button for full screen sites



close window button for full screen sites Hunnie
2/25/2005 9:16:50 PM
flash actionscript: I have created a full screen version of my site and need to add an exit button.
The script that I have placed on the button is this: on (release) {
getURL('javascript:_self.close()'); } However, it doesnt close. All the flash
pages are contained in one html file. So the order of pages goes like this:
splash, nav, home The nav page is where the button is located. Any ideas?
Re: close window button for full screen sites Hunnie
2/26/2005 12:43:20 AM
Ok, I found an answer and thought I should post in case anyone else needs help:

on (release) {
getURL('javascript:parent.close()');

Re: close window button for full screen sites Hunnie
2/26/2005 12:46:13 AM
sorry for smileys:
on (release) {
AddThis Social Bookmark Button