1 Reply Latest reply on Jul 21, 2009 1:49 PM by Gregory Lafrance

    how to check whether file is open already

    Tinu_m

      Hi all,

       

      Before i overwirte the file i need to check whether the file is open already.If it is open i need to show the alert message colse it in action script.

      Can any one help me.

       

      Thanks in advance

      Tinu

        • 1. Re: how to check whether file is open already
          Gregory Lafrance Level 6

          If you mean in AIR, then add the file name and/or path for the file in some object, and then when attempting to open any file, check that object for the file path, and if it is not there, then safe to open it. When closing file, remove file name/path from that object.

           

          If this post answered your question or helped, please mark it as such.

          1 person found this helpful