在Flex项目上右键-属性-Flex编译器,在编译器参数那里加上 -keep-generated-actionscript=true 保存后,就可以在工程文件夹中找到一个generated的文件夹,里面就存放了as文件