I don't know where I saw defaultTextFormat, maybe in AS3.
So, if someone have the same problem and search in this mailing list, here is the good code :
_root.createTextField("test", 1, 20, 20, 100, 20);
var tf:TextField = _root.test;
tf.embedFonts = true;
var format:TextFormat = new TextFormat();
format.font = "hoogeFont";
format.size = 8;
format.color = 0x000000;
tf.text = "Hello World !";
tf.setTextFormat(format);
Thanks again.
_______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
