Embedded Text not reading HTML

March 11th, 2010
  • I am loding text into a SWF file externally. As this swf is then loaded into another swf behind a mask I have had to embed the font. When I enclose my text files in HTML tags Flash is not reading them?

    This is the code I am using on my Text boxes:

    onClipEvent (load) {
    {
    loadText = new LoadVars();
    loadText.load("text/links.txt");
    loadText.onLoad = function(success) {
    if (success) {
    // trace(success);
    linksBox.html = true;
    linksBox.htmlText = this.myLinks;
    }
    };
    }
    }

    when I do not embed the text it all works fine?


  • sorry it doesnt work. text links display and tags but not or tags?


  • I've found that sometimes you have to 'HTML-enable' the textField using the property inspector as well as using textfield.html = true. I think it's just a bug, not sure. Have you tried that?


  • that works thanks :thumb:







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about Embedded Text not reading HTML , Please add it free.

    Posted in dballastages.com | edit