Ver Mensaje Individual
  #2 (permalink)  
Antiguo 26/10/2005, 14:01
Avatar de bernethe
bernethe
 
Fecha de Ingreso: abril-2004
Ubicación: San José, Costa Rica
Mensajes: 384
Antigüedad: 20 años
Puntos: 2
debes darle botón derecho a la typo en la librería, y darle Linkage. Activas los Checks de "Export for ActionScript", y luego el de "Export in first frame"

En el "Identifier" le pones un nombre, por ejemplo "patito", y el campo de texto, un nombre de instancia como "texto_txt". Entonces el código sería así:
Código:
var my_fmt:TextFormat = new TextFormat();
my_fmt.font = "patito";
texto_txt.embedFonts = true;
texto_txt.setTextFormat(my_fmt);
texto_txt.text = "Hola Mundo";
Espero que te sirva.
__________________
..::BERNETHE::..