4 Replies Latest reply on Dec 16, 2012 10:45 PM by Wingnow

    FileFilter files without extension (*.)

    StefaanVanMieghem

      I want the file dialog to only show files without extension, so I set the filter to '*.', but the dialog shows no files at all.

       

      var legendFilter: FileFilter = new FileFilter("Legende", "*.");

      legendFileRef.browse([legendFilter]);

       

      These legend files are created by another application and don't include an extension.

      I cannot ask the user to rename the files prior to upload, I cannot change the output of the other application and I do want to filter to prevent selection of incompatible files as much as possible.

       

      Flex 4.6, Windows 7