A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Change font in aTextField

  1. #1
    Member
    Join Date
    Aug 2008
    Posts
    38

    Change font in aTextField

    I can change the font of selected text, with
    my_format.font = "Arial";
    textFormat(my_format);
    and so selected text takes the font "Arial".

    I want to do it with non-selected text.
    To choose font, and any text being input in the TextField from now on, to take the chosen font.
    And the text that was input before changing font, to remain intact, as it was.
    Just the way things are in a text editor.

  2. #2
    Prid - Outing Nig 13's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    1,864
    That should change the Font for the whole text field, you wanna post FLA file or full code?
    I am back, guys ... and finally 18 :P

    BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS

  3. #3
    Member
    Join Date
    Aug 2008
    Posts
    38
    I'll have to 'cut' the appropriate part to post it here.
    From Monday now.

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