| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Sep 2004
Posts: 17
|
I found this information in the LiveDocs:
"The Flex localization feature lets you easily write localized Flex applications and access localized components. The localization feature currently supports static inclusion of localized resources and not dynamic retrieval of resources at runtime." About the localization feature I hope the final version of Flex will also support dynamic retrieval of language files. The process described in the LiveDocs is a little cumbersome: You have to compile different SWFs for each locale. And you have to use the command line, you can't do it inside the Flex IDE. My idea was to have several language files but only one SWF. I'd like to be able to switch between languages during runtime without loading another SWF. I have developed multi-language applications under Flash 8 by programming a parser class that reads the language files at runtime. The language files are XML documents, the parser creates an associative array from the XML structure. The array is a public static variable so that every part of the application can easily access the language resources. What's your preferred method of adding multi-language support to your Flash/Flex applications? |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Question about Flex 2 | vistasoul | Flex 2 & 3 | 1 | 02-28-2006 05:07 AM |
| Flex loadmovie problem | n0rthwood | Flex 1 | 1 | 01-30-2006 05:01 PM |
| New Flex (and ActionScript 3) boards | Jesse | General Chat | 3 | 12-01-2005 07:13 AM |
| Developing windows applications with script! | topcmm | ActionScript 1.0 (and below) | 4 | 12-04-2002 10:36 AM |
| Building Live multiuser applications (games, chat, etc.) | Sarah Smirnoff | ActionScript 1.0 (and below) | 4 | 05-14-2001 11:39 PM |