Override the resourcesChanged(() method and reassign the new localized
values.

 

Gordon Smith

Adobe Flex SDK Team

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of paulbohnenkamp
Sent: Friday, March 21, 2008 10:42 PM
To: [email protected]
Subject: [flexcoders] Localization issue: Using
resourceManager.getString in an ActionScript class

 

I had an mxml component with bindings to {resourceManager.getString...} 
and by updating the resourceManager.localChain I could see the 
resources getting updated at runtime.

I've now converted the MXML component to an ActionScript class where 
I'm using resourceManager.getString throughout the createChildren 
function. Now when I update the resourceManager.localChain I don't see 
updates to the resources. Does anyone know how I fix this?

Thanks,
Paul

 

Reply via email to