You have to access static methods and properties via the full class
path:
this.sizeTitle_txt.text = mx.lang.Locale.setXMLLang.loadString
("IDS_SIZETITLE")
blue skies,
bryan
On Jan 7, 2006, at 11:19 AM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
wrote:
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")
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders