2 Replies Latest reply on Aug 22, 2007 10:12 AM by kglad

    Kill the Flash Application

    Man of Flash
      Does anyone know how to stop and kill a flash application (which will be used in a projector app), that has a memory leak? Something like:

      function checkMemoryUsage(){
      if(System.totalMemory > abortMemory){ //if the memory exceeds the allowable limit, kill the app
      //navigateToURL(new URLRequest("memory_error.htm")); //send the user to a page explaining what happpened

      Except, I can't use 'navigateToURL' because it doesn't run in a browser.

      Thanks ...