Close command for pop-up

Hey guys,

i have a movie playing on a html page. It plays full-screen. I want to add an exit button that closes the movie from full screen.

I have tried the following code but it only seems to work on swf’s running outside the html page:
on button,


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

can someone help please.

thanx