codice:tes.onEnterFrame = function() { _root.formatta(this.testo); this.testo.text = "testo formattato"; }; function formatta(test) { mioTesto = new TextFormat(); mioTesto.bold = true; //ora dovrei cambiare il font mioTesto.font = "Arial"; test.setTextFormat(mioTesto); }