I'm developing a presentation in flash 8 and I have a button that needs to close the window of the application when it is pressed.
This is the code that I'm using, but it doesn't work:
on (release) {
getURL("javascript:window.opener=self;window.close();");
}
All it does is open a window in IE which immediately closes itself.
Thanks in advance.
This is the code that I'm using, but it doesn't work:
on (release) {
getURL("javascript:window.opener=self;window.close();");
}
All it does is open a window in IE which immediately closes itself.
Thanks in advance.