i18n issue with swf loaded into another swf

Hi,

I am loading an swf into my main.swf in a more or less standard way (loader.load(urlRequest)). So far, things work just fine.

Now I am trying to internationalize both my main.swf and the swf loaded at runtime (based on user selection). Individually, this works for both swfs, but when loading my second (“inner”) swf from my main.swf, I keep getting a

TypeError: Error #2007: Parameter text must be non-null.
    at flash.text::TextField/set text()
    at I18nTest/__setStr_txt_test1_Szene1_Ebene1_0()[I18nTest::__setStr_txt_test1_Szene1_Ebene1_0:5]
at I18nTest()[*path*\I18nTest.as:23]

I am using fl.lang.Locale and the “standard” code found on many websites:

Locale.setLoadCallback(localeCallback);
Locale.loadLanguageXML("en");

and

function localeCallback(success:Boolean):void {
   txt_test1.text = Locale.loadString("IDS_HELLO");
}

All files are where they are supposed to be (e.g. en/i18n_test_en.xml), and it works if I start my swf directly, without loading it into main.swf.
It looks like the path to the xml file might be incorrect if loaded into main.swf, but I have tried to set it using Locale.addXMLPath() without success.

The error occurs within my init() function, that is called directly from the constructor. So if I understand correctly, Flash fails to initialise the standard setting even before the code given above is executed.

Does anyone know how to solve this? I don’t succeed in debugging my inner swf when loading it into main.swf…

BTW: I have tried loading the same xml file inside the inner swf manually, tracing the number of elements within it for control purposes. It works in both cases (loading the inner swf directly and loading it from within main.swf) with a path relative to the inner swf.
The inner swf is located in a subfolder of main.swf’s location.

Thanks a lot for your input and help!