PDA

View Full Version : Closing browsers with flash



Rainblade
August 29th, 2002, 11:27 PM
Anyone know how to close down browser using action script within a button to close the browser
.

lostinbeta
August 29th, 2002, 11:30 PM
Something along the lines of

getURL("javascript:close()");

That syntax may be not be correct of course, but the code you really need is <B>javascript:close()</B>

Rainblade
August 30th, 2002, 01:17 AM
i figured it was something like that but it didnt solve my problem i need to close a frames page and that only closes a single html page

lostinbeta
August 30th, 2002, 01:20 AM
So it won't close your window becaus you have multiple frames?

Instead of waiting for a reply, I am going to say to try this...

getURL("javascript:close()",_top)

Probably not right syntax, but in the window location area type _top, this should target the page containing your frameset and close the whole window.