PDA

View Full Version : getURL("javaScript:self.close()") crashes my mac


wynandm
02-12-2004, 03:03 AM
I am working on a mac (against my will), and I am viewing a flash file in a popup, then on my close button I use the following code:

on (release) {
getURL("javaScript:self.close()");
}

This works fine on any PC, but however causes my mac to crash. Any ideas on how to close the popup window from within flash?

Ricod
02-12-2004, 09:00 AM
Sorry, I have no answer for your question, but did notice something else. You made a new thread after realizing the typo in the previous I think ? No need to do that, that's what the 'edit' button at the bottom is for. I removed the other one, thinking this is the correct one. In the future, if you see you posted twice, you can remove one by pressing the edit button, tick the 'delete ?' tickbox and then press the delete button. I hope you'll get an answer to your question.

fgf
02-12-2004, 10:07 AM
try getURL("javascript:window.opener=self; window.close()")

fgf