3 Replies Latest reply on Jul 6, 2008 9:42 PM by treesg

    Exit button code not working in FireFox

      I am writing a code on exit button , but it is working in IE but not in FireFox---
      code is :

      import flash.external.ExternalInterface;

      Also I tried this:

      var urlString:String = "javascript:window.close();";
      var request:URLRequest = new URLRequest(urlString);
      navigateToURL(request, "_self");

      Please tell what to write so that My Exit button works in FireFox also.