I’ve started to work up some standard build files for PBE based projects, more information can be had here, and here are the build files for libraries (components), and for applications (both SWF and Air).
Update: updated the build files to work better with pure AS3 projects (i.e. with no MXML files).