How to start with a plain simple AS3 project and BabelFx?

Celar's Avatar

Celar

11 May, 2011 08:51 AM via web

Hi,

I've looked at the samples provided but cannot build a pure AS3 sample project out of it.
Is it even possible to build multilanguage assets without Flex/mxml or not. The BabelFx page suggest it can.

Question i have:
1. How do you specify the language propertie files? I now have a map 'locale' with a 'en_US' and 'nl_NL' maps in it. In these maps are the propertie files. How do i tell my project to use these files? Also with the compiler? eventually the files will be loaded external.
2. How do you bind a string to for example a textfield?
3. What listeners do i need for language changes?
4. How do i change the language, which event must i fire?

To explore the ease of use of BabelFx i wanted to make a simple 'hello world' example. I use Flash Builder to code and compile (Actionscript project).

Any help is appreciated.

Thanks,

Arjan

  1. Support Staff 2 Posted by thomasburleson on 19 May, 2011 02:45 AM

    thomasburleson's Avatar

    Please read the article (and watch its videos): Getting Started with BabelFx.

    BabelFx is intended to be used via a LocalizationMap.mxml class. Since MXML compilation is not easily available in AS3 projects, you would need [most likely] to programmatically create your custom LocalizationMap. I do not recommend that!

    Please use a Flex Project. If your requirements truly dictate a FlashBuilder AS3 project (not MXML) then let submit a feature request.

    Thank you.

  2. thomasburleson closed this discussion on 13 Jun, 2011 02:39 PM.

Comments are currently closed for this discussion. You can start a new one.