quick AS Q

Out of context: Reply #21

  • Started
  • Last post
  • 22 Responses
  • Solid0

    This is working for me, including underline and hyperlink (don't have Avenir - used AvantGarde):

    ---------------------
    textfile.txt:

    textfield=< font face="AvantGarde Medium" >< u >< a href="http://yahoo.com" >Hello< / a >< / u >< / font > < font face="AvantGarde" >World< / font >!

    ---------------------
    Actionscript:

    loadText = new LoadVars();
    loadText.load("textfile.txt");
    loadText.onLoad = function() {
    with (scroller)
    {
    embedFonts = true;
    }
    scroller.htmlText = this.textfield;
    }

    ---------------------
    Library:

    Font symbol: AvantGarde
    Font symbol: AvantGarde Medium

View thread