3 Replies Latest reply on May 22, 2009 4:28 PM by kglad

    How to quit the flash player?




      I'm trying to setup a button to exit my swf.


      I used:



      But always get the error:

      SecurityError: Error #2018: System.exit is only available in the standalone Flash Player.
          at flash.system::System$/exit()
          at menu_fla::MainTimeline/sair_fc()


      How should I do this? What am I doing wrong?


      Thanks for any help.