Not out of the box but you can quite easily build your own properties file loader by e.g. builing it on top of URLLoader or URLStream.
Dirk. > -----Original Message----- > From: flexcoders@yahoogroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of zenwarden > Sent: Friday, December 08, 2006 4:24 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: Best practice: string tables > > Is there a way to have these properties not load at compile > time, but rather be read at run time? One of the nicest > things about properties in java and other langauges is that > they allow you to change or modify behavior and values > without recompiling code. > > Flash seems to ignore this concept both with properties and with css. > > > Chris > > > --- In flexcoders@yahoogroups.com, "Gordon Smith" <[EMAIL PROTECTED]> wrote: > > > > Flex already has the concept of resource bundles. You put your > > localizable strings in .properties files, which get compiled into > > ResourceBundle classes. You can then fetch strings out of the > > ResourceBundles, most easily in MXML with the @Resource() > directive. > > The docs have info about this.. > > > > > > > > - Gordon > > > > > > > > ________________________________ > > > > From: flexcoders@yahoogroups.com > [mailto:[EMAIL PROTECTED] > > On Behalf Of Giles Roadnight > > Sent: Thursday, December 07, 2006 9:30 AM > > To: flexcoders@yahoogroups.com > > Subject: [flexcoders] Best practice: string tables > > > > > > > > Hi All. > > > > > > > > In my previous flash projects we've had a string table of > sorts set up > > so that all the strings in the application can be edited easily. We > > can also easily modify the strings for foreign users. > > > > > > > > I have taken this idea and implemented it in Flex as follows. > > > > In the main application I have this code: > > > > > > > > [Bindable] > > > > public var dialogueText:Object = { > > > > loginBoxHeader:"Member Login", > > > > > > > > to set up the string table (obviously other strings in > there as well). > > > > > > > > In my login component I have the following: > > > > > > > > [Bindable] > > > > private var mainApplication:Object = > mx.core.Application.application; > > > > > > > > and > > > > > > > > <mx:Label x="10" y="12" > > text="{mainApplication.dialogueText.loginUsername}"/> > > > > > > > > Is this the best way of doing this or will having all of > these bound > > variables around the place slow things down? > > > > Is there a better way of doing this? > > > > > > > > Many Thanks > > > > > > > > Giles Roadnight > > > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.com > Yahoo! Groups Links > > > >