0 Replies Latest reply on Jan 2, 2013 8:24 AM by rabbit78

    flex 4.6 understand the type of the file...

    rabbit78 Level 1
      Hello everyone!

      I created a program where I open two types of files ...

      file "txt" file and "pdf"

      I open the file through sqlite ........ basically I want to read only the last three letters after the dot "."

      example:

      if (. txt) {
      code txt ...
      }
      if (. pdf) {
      pdf code ...
      }

      I hope I was clear ...