You can use any text editor to write mxml and/or as files and
use the compiler(s) that are included with the SDK to compile to an
swf (on the Mac, TextMate is excellent).
You can use the SDK's in conjunction with Flash Develop and
the FDT plugin for Eclipse, which both are IDE's for AS