Hey João, Thanks for the code sample ... Very helpful. In particular, I like how you bind the a function to an event, I was trying to figure out how to do that ... I like it how it magically adds the class in as an event listener.
[Bindable(event="languageChange")] public function getString( key : String ) : String { var value : String = activeLanguage.languageKeyValues[ key ]; if ( value == null ) { throw new Error( "No value in languange bundle for key " + key ); } return value; } } Best, -Daniel João Fernandes wrote: > > Diego, take a look here > > http://weblogs.macromedia.com/arayne/archives/2006/08/internationalis.cfm#mo > <http://weblogs.macromedia.com/arayne/archives/2006/08/internationalis.cfm#mo> > re > > João Fernandes > > -----Original Message----- > From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > [mailto:flexcoders@yahoogroups.com > <mailto:flexcoders%40yahoogroups.com>] On > Behalf Of Diego Guebel > Sent: segunda-feira, 11 de Setembro de 2006 3:50 > To: Flex coders > Subject: [flexcoders] Localizing application > > Hi there, > Based on the flex documentation I have to compile one swf per each > language, is that right? > I'd like to be able to switch between languages during runtime. isn't > that > possible? > Thanks, Diego. > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > <http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt> > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.com > <http://www.mail-archive.com/flexcoders%40yahoogroups.com> > Yahoo! Groups Links > > -- 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 <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/