Results 1 to 8 of 8

Thread: flash mx

  1. #1

    flash mx

    i'm trying to learn how to use flash mx, and i can't figure out how to change the color of a textfield. i've found some things regarding CSS, but i think that's for flash mx 2004. i also don't completely understand how to use flash yet, so i'm not really sure where i'm supposed to be putting the code i found...

  2. #2
    Registered Member moonshield's Avatar
    Join Date
    Aug 2004
    Location
    Charlotte
    Posts
    1,281
    i dont know but it has nothing to do with CSS.

  3. #3
    Senior Member thebillionaire's Avatar
    Join Date
    Apr 2004
    Posts
    746
    when you type out a text, look at the bottom, in the property window, click the coloured box and change the colour.

  4. #4
    that color only changes the text color inside the textfield, not the background color of the textfield...

  5. #5
    Senior Member thebillionaire's Avatar
    Join Date
    Apr 2004
    Posts
    746
    I don't think its possible to change the background with the text field, however, you can make a layer underneath the text and draw a box under the text.

  6. #6
    i was doing that at first but it got incredibly annoying... i figured it out now anyhow... and i've moved on to bigger and harder problems :P

  7. #7
    I'm the oogie boogie man! James's Avatar
    Join Date
    Aug 2004
    Location
    Canada
    Posts
    1,566
    Could you please state how you can accomplish changing the background, for future reference for anyone who looks back upon this thread or finds it via Search Engines?

  8. #8
    give the textfield an instance name, i.e. textField
    then the problem i was having is i didn't realize you have to select "show border around text" in the properties window.

    then in the actionscript for that layer:
    textField.backgroundColor = 0xFF0000;

    where FF0000 is a hex value for the color preceeded by 0x.
    if you don't have "show border around text" selected, you can use the following line of code to make the background color display:
    textField.background = true;

Similar Threads

  1. Flash Work
    By thebillionaire in forum The Marketplace
    Replies: 5
    Last Post: 12-25-2004, 06:32 PM
  2. Flash MX 2004 Action Script confusion!!
    By DTOXX in forum Graphics & Multimedia
    Replies: 23
    Last Post: 11-10-2004, 09:30 PM
  3. Flash sniffer bad for SEO?
    By jbiggs77 in forum Search Engine Optimization
    Replies: 1
    Last Post: 11-05-2004, 10:44 PM
  4. Help help me who i can do thes flash
    By all3saf in forum Graphics & Multimedia
    Replies: 5
    Last Post: 10-24-2004, 09:23 AM
  5. Flash Problems!!
    By T_D in forum Graphics & Multimedia
    Replies: 1
    Last Post: 06-08-2004, 06:43 AM

Bookmarks

Posting Permissions

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