Ver Mensaje Individual
  #2 (permalink)  
Antiguo 12/08/2004, 09:59
Avatar de DragonX
DragonX
Colaborador
 
Fecha de Ingreso: mayo-2002
Ubicación: Funkyland
Mensajes: 8.433
Antigüedad: 21 años, 10 meses
Puntos: 177
Esta funcion se ocupa de buscar textos dinamicos dentro de tu movie y le da el estilo que quieras:

_global.setTextStyle = function(level, format)
{
var obj;
for (obj in level) {
if(level[obj] instanceof MovieClip){
arguments.callee(level[obj], format);
}
else if(level[obj] instanceof TextField){
level[obj].setTextFormat(format);
}
}
}

textStyle = new TextFormat();
textStyle.bold = true;
textStyle.font = "Verdana";
textStyle.color = 0x000000;
textStyle.size = 10;


setTextStyle(_root, textStyle);

podrias llamar a esta funcion desde un btn y cambiarle lo que quieras.....
__________________
Desarrollos dosLotos
Calendario Maya, Meditación, Osho