dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: [CS3] How do I change the color of a text input feild

Hybrid View

  1. #1
    The White Flame JohnyT9760's Avatar
    Join Date
    Mar 2002
    Location
    NA
    Posts
    349

    [CS3] How do I change the color of a text input feild

    [CS3]

    How do I change the color of a text input field I have a page that is mostly blue and the text input is white by default I would like to change the color of the text input field to light blue how would I do that?

    Thx for the help

    JT

  2. #2
    Senior Learner garion1's Avatar
    Join Date
    Dec 2001
    Location
    South Africa
    Posts
    483
    Select the input text field on your stage and change the color in the properties panel.
    "A day without laughter is a day wasted." - Charlie Chaplin

  3. #3
    The White Flame JohnyT9760's Avatar
    Join Date
    Mar 2002
    Location
    NA
    Posts
    349

    Not the color of the text...

    Not the color of the text in the input field the color of actual color of the input feild background itself.

  4. #4
    Senior Learner garion1's Avatar
    Join Date
    Dec 2001
    Location
    South Africa
    Posts
    483
    OK. Simplest way is to draw and then copy a solid graphic behind each input field.

    To do it with code, use:

    instancename.backgroundColor = 0xFF0000;

    Using code, the background color will only show if it has a border.
    Last edited by garion1; 02-13-2008 at 05:06 AM.
    "A day without laughter is a day wasted." - Charlie Chaplin

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