Flash Player VerifyError: Error #1014 with RSLs
This is more a note to self, but I’m sure others will run into it as well. If you just changed your Flex/Flash project to use Runtime Shared Libraries (RSLs) and launch your new, shiny and tiny application for the first time only to see the error message “
VerifyError: Error #1014: Class some.package::SomeClass could not be found“, then do not despair. Most likely you’ll just have to switch the order in which the libraries are being loaded.
If RSL A depends on RSL B, you will need to make sure that B is loaded before A, otherwise you see the message above. Go back to your flex project, hit Project properties, select “Flex Build Path”, then tab “Library path”. Rearrange the “Build path libraries” to make sure they are loaded in the right order and do a rebuild.