Tried to create a dynamic text field but then realized I cant embed the font the usual way (i.e. the properties panel). Anyone know how this is done? Here’s what I got so far…
this.createEmptyMovieClip(“btn”, 1);
btn.createTextField(“txt”, 10, 0, 0, 100, 50);
txt.autoSize = true;
btn.txt.embedFonts;
btn.txt.text = “Press”;
btn.txt.setNewTextFormat(myFormat);
myFormat ???