codice:
tes.onEnterFrame = function()
{
	_root.formatta(_root.testo);
	_root.testo.text = "testo formattato";
};
function formatta(test)
{
	mioTesto = new TextFormat();
	mioTesto.bold = true;
	mioTesto.font = "Vivaldi";
	test.setNewTextFormat(mioTesto);
}