FileFilter.macType

I was recently doing a bit of work with the File class in AIR, and in creating some dialogs ran across this “macType” property of the FileFilter class. The documentation is pretty scant on it, but a quick Google search led me right to a post from well over a year ago by my good buddy Tink:

http://www.tink.ws/blog/macintosh-file-types/

and further to a post by Josh Buhler:

http://www.joshbuhler.com/2006/05/30/mac-file-types-one-more-thing/

The verdict? Setting a macType will probably cause more problems than it solves, so skip it. I’m posting this here for a couple reasons. One is that there will probably be some renewed interest in FileFilter now with AIR using it in the File API, and two so that in a year or so from now when I run across macType again and don’t know what it is, I can say, “I think I posted something on that a while back,” and look it up and find it. 🙂

This entry was posted in Apollo, Flash. Bookmark the permalink.

Leave a Reply