PDA

View Full Version : how to? apply same txt format to several fields


Babaloo
02-19-2007, 09:22 PM
How can I apply the same txt format do several txt fields? I think I could make a function to declare the format values, but how can I assign those values to different (runtime) fields on the stage?

I'm working on a game screen and want to have the one font across the board (scores, instructions, player name, etc). It would be nice to have some size and color variation, though... :)

Another related question: can I embed a font to be used at runtime?

thanks guys

Babaloo
02-19-2007, 10:09 PM
hmmm, there's this great tute in the articles section:
Typography in Flash by JT Paasch (http://www.actionscript.org/resources/articles/179/1/Typography-in-Flash/Page1.html)