No. The framework supports loading resource module SWFs, not .properties
files, at runtime. You have to compile the .properties files to create a
resource module SWF (or compile the resources into your app). This
design was chosen so that multiple bundles that include graphics,
sounds, etc. can be loaded with one HTTP request. 

 

Of course, you could always write your  own .properties parser in
ActionScript.

 

Gordon Smith

Adobe Flex SDK Team

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Durres76
Sent: Thursday, May 29, 2008 9:26 AM
To: [email protected]
Subject: [flexcoders] Re: loading resource bundles manually in flex3

 

Hi Gordon,
thanks for the quick reply. I want to use property files for the app
config because we may share some of those properties with java
classes. in addition it's nice that i don't have to parse them and
that they're bindable.
BTW, can i load a properties file that was not declared in the
Metadata tags during compile time, i.e.
ResourceManager.loadResource("config.properties")

Thanks,
d

 

Reply via email to