Código :
_level1;
_x = 300;
_y = 173;
_alpha = 50;
Stage.scaleMode = "noscale";
// --
texto.html = true;
texto.wordWrap = true;
texto.multiline = true;
texto.label.condenseWhite = true;
// -- crear objeto CSS
var mi_CSS = new TextField.StyleSheet();
// -- cargar CSS
mi_CSS.load("xml/estpaseo.css");
//--
texto.styleSheet = mi_CSS;
// -- asociar la hoja de estilos al componente textArea
miXML = new XML();
miXML.onLoad = function(succes) {
if (succes) {
texto.text = miXML;
} else {
texto.text = "No se pudo cargar el archivo ";
}
};
miXML.load("xml/paseo.xml");
Además, no sé cómo cambiar el aspecto de la caja del TexArea del .fla de color ni tampoco el scroll.
