Hi,
I have a project that has a multilanguage interface.
I import the strings as follows:
import mx.lang.Locale
var defLang:String = "en";
Locale.setDefaultLang(defLang);
Locale.loadLanguageXML(Locale.getDefaultLang());
Everything works fine as long as I try to assign the content of my strings from
the same level where I wrote the code above (root), but if I try to retrieve a
value from a movieclip on a lower level like this:
this.sizeTitle_txt.text = this._parent.Locale.loadString("IDS_SIZETITLE")
the textfield gets a value of undefined.
I have checked the Macromedia documentation, but have found nothing that
clarifies this.
I hope some of you may come up with something that resolves this mystery.
Thanks.
Torben Nielsen
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders