2 Replies Latest reply on Aug 22, 2007 3:56 PM by kglad

    HTML in Actionscript

      When I paste HTML text from Dreamweaver into Actionscript, to appear in a dynamic text field, Actionscript chokes on any line spaces between tags (which Dreamweaver automatically puts in). I tried manually deleting all the line breaks, but the text is so long, I end up with a single, incredibly unwieldy line of code.

      There must be another way of getting Actionscript to accept HTML text with invisible line breaks between the tags. Does anyone know? Or do I have to load the HTML text from an external file? I'm already loading a CSS stylesheet from an external file, maybe the text needs to be too. Especially as I have several paragraphs of text. Thanks!