I try to open *.as file with Xcode but my mac thinks they're zip files.
If I double click one of the .as files, Archive Utility opens, thinks for a second, then disappears and nothing happens. If I right click -> open with Text Edit, it opens and displays the correct file, but I don't want to use Text Edit. I want to view the file in XCode. When I right click -> open with XCode, it doesn't display the code in the file; it shows a little zip image with AS on it, and no text.
Xcode doesn't support ActionScript files out of the box, so it sees my file and thinks it's an AppleSingle file instead, as does the rest of my Mac, since that's how OS X usually understands files with the .as extension by default.
Unfortunately I couldn't find any information on getting Xcode to support ActionScript file.