Skip to main content
Known Participant
January 23, 2012
Question

Using a slider to change the font size

  • January 23, 2012
  • 1 reply
  • 1186 views

Does anyone have any idea how to change the size of text in a text box, once the user has typed something in using the slider component?

This topic has been closed for replies.

1 reply

Ned Murphy
Legend
January 23, 2012

If you want to change the characteristics of textfield you need to use the TextFormatr class along with setTextFormat() commands.

lee_owlsAuthor
Known Participant
January 23, 2012

is that pretty straight forward to do? :/

Ned Murphy
Legend
January 23, 2012

Not really.  Depending on your intentions, it could be alot easier to just have the textfield inside a movieclip and have the slide change the scaleX/scaleY properties of the movieclip.