Script for close up flash player.

Started by: Plebs | Replies: 1 | Views: 818

Plebs

Posts: 28
Joined: Mar 2012
Rep: 10

View Profile
Jul 26, 2012 2:37 PM #705112
I would like to make a button that completely closes flash player.
What script I must use?
Zed
2

Posts: 11,572
Joined: Feb 2009
Rep: 10

View Profile
Jul 26, 2012 6:29 PM #705347
If you're putting it on the internet:

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

Or getURL("javascript:CloseWindow();");


Don't know if you can set it to close the flash player though, so it will only work once you've uploaded the animation and you're viewing it in your browser.