Smith
Sent: Tuesday, April 01, 2008 2:01 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] ResourceBundle
One way to add ResourceBundles at runtime is to compile them into one or more
resource modules and load those modules with ResourceManager's
loadResourceModule() method.
Another way
One way to add ResourceBundles at runtime is to compile them into one or
more resource modules and load those modules with ResourceManager's
loadResourceModule() method.
Another way is to create new ResourceBundles with the 'new' operator,
populate their 'content' property with key/value pairs
Of Gordon Smith
Sent: Wednesday, September 05, 2007 3:33 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] ResourceBundle - Problem with
ActionScript code
Yes, that's the recommendation. Methods like getString() on
ResourceBundle are now deprecated (and will be removed in a
future
reference the resource bundle by key instead of the getString()
such as rb.content[txName];
you can read more here:
http://livedocs.adobe.com/labs/flex/3/html/wwhelp/wwhimpl/common/html/ww
help.htm?context=LiveDocs_Book_Partsfile=l10n_033_1.html
Hope that helps,
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] ResourceBundle - Problem with ActionScript
code
reference the resource bundle by key instead of the getString()
such as rb.content[txName];
you can read more here:
http://livedocs.adobe.com/labs/flex/3/html/wwhelp/wwhimpl/common/html/ww
help.htm
..
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Gordon Smith
Sent: Wednesday, September 05, 2007 11:48 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] ResourceBundle - Problem with ActionScript
code
No. In Flex 3, all resources should be accessed
@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Brian Holmes
Sent: Wednesday, September 05, 2007 11:39 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] ResourceBundle - Problem with ActionScript
code
Gordon,
Is that the recommendation? I'm dynamically creating and loading
resource bundles
Just to be sure, you are using metadata like this:
[ResourceBundle(German)]
and not this:
[ResourcBundle(German)]
The e was missing in your example.
-matt
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of mayurrami
@yahoogroups.com
Subject: RE: [flexcoders] ResourceBundle with ActionScript code -
Problem in Flex 2 Flex 3
Just to be sure, you are using metadata like this:
[ResourceBundle(German)]
and not this:
[ResourcBundle(German)]
The e was missing in your example.
-matt
u hve to specify an extra source folder as the path to the bundle:
-source-path=WEB-INF/flex/locale/en_US
or whatever you path may be
Dimitrios Gianninas
RIA Developer
Optimal Payments Inc.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
10 matches
Mail list logo