El titulo del post bien podria ser un tutorial... El caso es que no se como voy a hacer para solucionar esto. Cuando es "textFormat" simplemente incluía la fuente dentro de la biblioteca pero ahora no es el caso. Alguien sabe como hacer esto?
Código :
var estilos = new TextField.StyleSheet(); estilos.setStyle("subrayado", {fontFamily: 'DIN-Medium', fontSize: '10', textDecoration: 'underline', color: '#5F5C5C'}); estilos.setStyle("normal", {fontFamily: 'DIN-Medium', fontSize: '10', textDecoration: 'none', color: '#5F5C5C'}); estilos.setStyle("negrita", {fontFamily: 'DIN-Medium', fontSize: '10', color: '#000000'});
Código :
createTextField("campodetexto",1, 0, 0, 170, 147); campodetexto.styleSheet =_parent._parent.estilos; campodetexto.embedFonts = true; campodetexto.html = true;