1 Reply Latest reply on Oct 26, 2006 12:27 PM by TimSymons

    Creating dynamic text field that will accept formatted text.

    Bj_flash
      Can I use actionscript to dynamically create a text field that will accept formatted text? I want to assemple HTML tags and use the print function to print it as a HTML page.
        • 1. Re: Creating dynamic text field that will accept formatted text.
          TimSymons Level 1
          You can create textfields dynamically with AS using the createTextField() method. If you then set the "html" property to "true" and then use the htmlText property to assign text to the textfield it will process the HTML code contained within the string.

          Just remember that Flash supports only a limited number of HTML tags. Tables, Div, Frame, IFrames, etc. are not supported. Neither are <ol> or <ul> only the <li> tag is and it will always use a dot as the bullet.

          Tim