Since I landed on this page looking for this error message and none of the above solutions worked for me, here is how I finally managed to get around this:
This error seems to occur, especially when you include old libraries that were compiled with the old compiler, but compile the application with the new one. Unfortunately, the error sometimes works, and when you compile it does not; in other cases, it works fine in the debug version, but then it doesn't work in the release.
What worked for me is to include dummy objects in the main application, which are instances of the class with which the validation error occurs:
import some.classpath.to.TheClassThatFailsOnVerify; function YourMainApp(){ var dummy:TheClassThatFailsOnVerify = new TheClassThatFailsOnVerify (); }
At least in my case, errors were triggered only for classes that were not used directly in the application, but only inside the code of the swc library, therefore, having dummy objects in the main application, I force Flash Builder to include these classes in compilation.
In some cases, you may need to first find a swc that contains the class in question, since it is not part of the swc library you are using, but again it is a library that uses this swc.
Quasimondo
source share