I have downloaded an xml gallery (as2) as we needed one for an old as2 file. Now I mostly use as3 but thought as I only needed to tweak it there would be no probs. Of course, it rarely works out that way. The problem is, text loaded from the xml file is displayed with its corresponding image. This works fine in the file. When I load the SWF into another SWF however, it all works EXCEPT the text doesn't show at all?? Whoever made the gallery used 'device fonts' in the textbox, I don't know if this has anything to do with it. I tried changing the textbox to dynamic and embedding characters but still nothing.
This seems the key line -
_root.descmc.desc.htmlText = XMLdaten[number];
I have also tried
_root.descmc.desc.htmlText = XMLdaten[number].firstChild;
This traces out the correct xml data when tested so it is finding it okay.
Any help would be much appreciated.
The problem might be in the use of the "_root" You probably need to set _lockroot = true; in the loaded swf, otherwise the _root is that of the loading swf, not the loaded one.
Got it!! It was an uneccessary use of that pesky _root! , nevermind
Haha, sorry Ned, you must have been answering as I was, you were right though!!