Ryan Stewart blogged earlier about getting code completion in Flex Builder with the aid of Metadata in your actionscript, and it's all very interesting - so take a look!  Flash CS4 also now supports the Flex-style Metadata tags in your actionscript, although it still doesn't give very good code completion, but it does work with ASDoc, apparently.