Screensaver

Hi there, I have created a screensaver using flash mx 2004 and built it using screenweaver. The problem is I want to close the screensaver with a close button and not with mouse movement or key presses. I have tried fscommand(quit); but it does not work, anyone can help me? please? :}