Skip navigation
StefaanVanMieghem
Currently Being Moderated

FileFilter files without extension (*.)

Dec 10, 2012 1:48 AM

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

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points