Groups | Blog | Home
all groups > flash actionscript > april 2004 >

flash actionscript : button to close browser


Greg_123
4/6/2004 9:23:10 PM
can anyone help me with the actionscript nexessary for a button that closes
both the movie and the broswer window that it is running in?
Also, is this different to the actionscript that would be needed to close the
movie from the player if it is not running through a browser?

....confused!!
Jack.
4/6/2004 9:32:57 PM
[quoted text, click to view]
search the archives for "close browser window"

[quoted text, click to view]
search the archives for "close movie"

http://groups.google.com/advanced_group_search?hl=en&as_ugroup=*flash


Carneirinho_br
4/7/2004 12:05:39 AM
Close window:

on (release) {
getURL("javascript:parent.window.close();");
}

Press Ctrl + F12 to test this

Close Movie:

on (release) {
fscommand("quit");
}

AddThis Social Bookmark Button