En la biblio nueva fuente con vinculacion llamada fuente1.En propiedades elegi incorporar latin basico.Como siempre intentando aprender un poco mas por mi cuenta,pero con ayuda de mis maestros....gracias
la hoja de css:
cabecera {
Código :
font-family: Arial,Helvetica,sans-serif;
font-size: 10px;
font-weight: bold;
color: #666666;
}
cuerpo {
font-family: fuente1;
font-size: 10px;
font-weight: bold;
color: #333333;
} Código :
//Carga del CSS y
//asignacion a la caja de texto codigo en fot de Texto
Texto._visible = false;
Texto.html = true;
Texto.wordWrap = true;
var miEstilo = new TextField.StyleSheet();
miEstilo.onLoad = function(cargado:Boolean):Void {
if (cargado) {
Texto.styleSheet = miEstilo;
Texto._visible = true;
//VOLVER A ASIGNAR EL TEXTO
//PARA QUE SE APLIQUE A LA NUEVO HOJA DE ESTILOS
Texto.htmlText = texto;
} else {
trace("Error cargando el CSS.");
}
};
miEstilo.load("eae.css");
backheight = 290;
barheight = 40;
rate = 6;
bar._alpha = 50;
back._yscale = backheight;
bar._yscale = barheight;
bar._x = back._x;
bar._y = back._y-(backheight/2)+(barheight/2)-rate;
bar.onRollOver = function() {
bar.alphaTo(100, 2);
};
bar.onRollOut = function() {
bar.alphaTo(50, 2);
};
bar.useHandCursor = false;
