FWIW: I have created an ActionScript 3 (dis-)assembler (which allows you to assemble back modified code, even for obfuscated files). It is similar in functionality to flasm, however it targets the AVM (used in newer Flash versions), and works directly with the AS bytecode rather than entire SWF files. To edit the rest of the file, you could use a tool such as SWiX.