Close a projector window?

I have a flash projector “exe” application that requires a “quit” button. When clicked, it should close the window. Is this possible?