http://github.com/mde/flex-pilot

A library for doing easy testing automation of Flash and Flex applications. Includes a  locator/lookup mechanism, eventing, and an AS3 test-runner