Hi
There is a known issue with the sdk 3.5 automation swcs which have come with the flash builder 4 release http://bugs.adobe.com/jira/browse/FLEXENT-1183 .This fix has been made and all you will need to do is download the 3.5 sdk automation swcs from here and use them instead of the ones that come with the flash builder 4 release.