I also ran into these types of errors. Only thing that works for me is create a new main class and copy paste the code from the previous main class.
Then I set the latest main class to the default application. This forces Flex Builder to recreate the swf files and it gets rid of the errors you described. Very annoying !