I am using ResourceManager.getInstance().localeChain to get the default language of flex. I tried this in flex3 it returns en_US. Now i migrated my application to Flashbuilder4. There it throws an error
Error #1009: Cannot access a property or method of a null object reference. Do i need to configure anything.
When are you calling it?