Estoy haciendo algo de css en flash pero me encuentro con problemas:
Tengo esto en el primer frame de mi pelicula
Código :
var estilos = new TextField.StyleSheet(); estilos.setStyle("subrayado", {textDecoration: 'underline'}); estilos.setStyle("normal", {textDecoration: 'none'});
y luego en un mc tengo:
Código :
on(rollOver){ this.campodetexto.html = true; this.campodetexto.styleSheet = _parent.estilo; // <--nombre de la variable de arriba this.campodetexto.htmlText= "<p class='subrayado'>Headquarters</p>"; }pero no consigo que funcione...
alguien me puede decir como hacerlo?
gracias de antemano