Unable to resolve a class for ResourceBundle: xxx.
is a very frequent error thrown by the MXML compiler when we are including different SWCs as libraries or trying to create a new resource by creating a new yyy.properties file and trying to use it in a AS class file by using the [ResourceBundle] tag. The key is to remember that the name given in the tag should match the properties file name. So for yyy.properties file one should use [ResourceBundle("yyy")] . Even if you are using a zzz_rb.swc file containing the resources and you want to use the yyy resource present in the swc we should use the [ResourceBundle("yyy")] tag in AS file.
Showing posts with label Compiler error. Show all posts
Showing posts with label Compiler error. Show all posts
Friday, February 23, 2007
Subscribe to:
Posts (Atom)