A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: dynamic text field font size

  1. #1
    Senior Member
    Join Date
    May 2001
    Location
    London, England
    Posts
    273

    dynamic text field font size

    Is it possible to adjust the font size of a dynamic text field when running in the flash player?! If so how.
    Thanks in advance
    Oll

  2. #2
    Senior Member
    Join Date
    Apr 2001
    Location
    UK
    Posts
    493
    requires creating a textformat object:

    var newFormat=new TextFormat();
    newFormat.size=60

    yourTextField.setTextFormat(newFormat)

    can set any value of a textfield this way, see the objects menu in Flash for further properties

  3. #3
    Junior Member
    Join Date
    Sep 2008
    Posts
    2
    Quote Originally Posted by Jayhoo
    requires creating a textformat object:

    var newFormat=new TextFormat();
    newFormat.size=60

    yourTextField.setTextFormat(newFormat)

    can set any value of a textfield this way, see the objects menu in Flash for further properties
    This is not working for me. Any suggestion?
    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center