I'm trying to make a flash video that has an 'exit' button which closes the movie when the user clicks it. Originally I had this code for it:
But then whenever I published the movie as an EXE file (its going to be a catalog index page in an auto-run CD so I think it has to be an EXE) that code causes the movie to close automatically. I would click the EXE file, the screen would flash and then close. When I took that code out of the Actions for that button's layer, it worked fine (didn't close) but now I don't have a quit command. Unless I did something wrong?
So is there another type of command for AS3.0 to create an 'exit' button? Or is there something I'm missing in this code, like am I supposed to add something else?