[flexcoders] Localization in Actionscript file

2012-11-06 Thread sony antony
Hello friends, I have a scenario like I need to implement localization in actionscript files. Accessing strings from respective .properties files(resource files) for different locales. We are using resourcebundle class for that. And we have ComboBox in that page. We need to change the display

RE: [flexcoders] Localization in Actionscript file

2012-11-06 Thread Merrill, Jason
Why would you store information in actionscript files? It would seem better to use a data source like XML for localization data rather than keep information in an Actionscript file. In my opinion, in an ideal setup, the only information that would be contained in an Actionscript file would be

RE: [flexcoders] Localization in Actionscript file

2012-11-06 Thread Gordon Smith
Not able to achieve this. Why not? One simple solution is just to have a resource in your .properties file that looks like this: ComboList=Item 1,Item 2,Item 3 Use getString() and split() to turn it into the array [ “Item 1”, “Item 2”, “Item 3” ] that you can use as the dataProvider of the