Today, I find a eclipse plugin for as3 code formatting–flexformatter
I had downloaded the plugin. It is a jar file. Copy that file to the “plugins” folder in flex install dirctory.Mine is C:Program FilesAdobeFlex Builder 3plugins. After restarting flex, you can find two icon in the tool bar. One is for formatting code, the other is for indent code.