Cerca nella libreria questo movieclip:
Flash UI Components/Component Skins/Global Skins/FLabel
e cambia il metodo:
codice:
FLabelClass.prototype.setLabel = function(label)
{
var val = this.hostComponent.styleTable.embedFonts.value;
if (val!=undefined) {
this.labelField.embedFonts = val;
}
this.labelField.setNewTextFormat(this.textStyle);
this.labelField.text = label;
this.labelField._height = this.labelField.textHeight + 2;
}
in
codice:
FLabelClass.prototype.setLabel = function(label)
{
var val = this.hostComponent.styleTable.embedFonts.value;
if (val!=undefined) {
this.labelField.embedFonts = val;
}
this.labelField.setNewTextFormat(this.textStyle);
this.labelField.html = true;
this.labelField.htmlText = label;
this.labelField._height = this.labelField.textHeight + 2;
}
poi setti l'etichetta:
codice:
radio_rb.setLabel("ciao" + String.fromCharCode(178))