en un campo de texto muestro el contenido de un archivo html externo.
Código :
var myStyle:TextField.StyleSheet = new TextField.StyleSheet();
myStyle.load("textos/estilo.css");
content_txt.styleSheet = myStyle;
content_txt.multiline= true;
content_txt.wordWrap = true;
content_txt.html = true;
var story:XML = new XML();
story.ignoreWhite = true;
story.load("textos/quienes.html");
story.onLoad = function () {
content_txt.htmlText = story;
}
... pero me inserta un <p> justo al principio.
Hace tiempo ví la solución en el foro, pero me he puesto a buscarlo, y Dios .... me he vuelto loco....
¿Algún alma caritativa que me ayude de forma rápida, para evitar ese salto de párrafo inicial ?
Gracias
