A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: How to highlight the text

  1. #1
    Member
    Join Date
    Jul 2011
    Posts
    32

    How to highlight the text

    I would like to high-lite part of my text, but i don't find where to do it, other features like under line, etc.
    Thank you for your help.

  2. #2
    Prid - Outing Nig 13's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    1,864
    I don't think it's possible from inside Flash, but with actionscript it is

    Make a Dynamic Text field, give its Instance Name, any name you want (not variable name), for instance, let's call it my_txt. Then, on your Frame, write this:

    Actionscript Code:
    my_txt.background = true;
    my_txt.backgroundColor = "0xFF0000";

    That will color the whole dynamic text though. Not sure if only parts can be colored without using complex codes or multiple text fields!
    I am back, guys ... and finally 18 :P

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

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