3 Replies Latest reply on Aug 2, 2011 8:14 AM by blazejewicz

    openWithDefaultApplication() does not throw error when defaultApp not found

    flexillu10 Level 1

      When i download a file that does not have a default application set my try catch block does not catch any errors. The adobe cookbook says adobe air will throw an error. But it doesn't seem to.

       

      try {
           file.openWithDefaultApplication();
      }
      catch(error:Error) {
           trace("There was a problem opening the file");
      }
      

       

      Could someone confirm/correct me in my assumption that adobe air does not throw any error in this case?