2 Replies Latest reply on Feb 28, 2007 8:36 PM by kptgreg2

    Dynamic text won't load when made into Movieclip

      I'm creating a music player that loads info from an external XML file. I'm using Flash8. I did this tutorial:
      http://www.kirupa.com/developer/mx2004/maskfonts.htm because I need to scroll a prompt message that is masked.

      And my problem isn't the mask (fonts are embeded it's fine) but the dynamic text is not loading from the XML file anymore. I think this is because in the tutorial the first thing you do is make the dynamic text field a movie clip. As soon as I do that the text data doesn't load from the external XML file. The code that previously worked was:

      _root.prompt = this.firstChild.childNodes[1].firstChild.nodeValue;

      prompt_txt.text = _root.prompt;

      But now I made the dynamic text field prompt_txt a movie clip named prompt_mc and it doesn't load. So I realize now that prompt_txt lives inside prompt_mc but how do I get the text data from the XML file there???