Skip to main content
Participant
September 20, 2007
Question

Formatting Text

  • September 20, 2007
  • 2 replies
  • 287 views
Can anyone tell me how to set the text properties for the code below. I need to set it to Arial and change its size. Thank you.
This topic has been closed for replies.

2 replies

kglad
Community Expert
Community Expert
September 20, 2007
don't use the same name for your textfield instance and for your textformat instance. give them different names and make sure your library font has linkage id = Arial and enable the embedFonts property of your textfield.
Participant
September 21, 2007
Ok, thank you. How do you "enable the embedFonts property of your textfield.?" This is what I have thus far.
kglad
Community Expert
Community Expert
September 21, 2007
:

kglad
Community Expert
Community Expert
September 20, 2007
you have to use the textformat class to create a textformat object, embed your font and assign the textformat object to you textfield.
Participant
September 20, 2007
Thank you. I embedded the font into my library and I tried (using the help menu) to format the text but it doesn't appear to be working. You will have to forgive me I am new to learning actionscript. Thank you.