SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot
    Join Date
    Aug 2003
    Location
    Great White North
    Posts
    172
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    override default combo colours?

    Hi,

    What's the easiest method for changing the default colour scheme for the combobox component in MX2004?

    Thanks

    COB
    hockeyunderground.net
    - Fantasy Hockey Depot

  2. #2
    Is Still Alive silver trophybronze trophy RetroNetro's Avatar
    Join Date
    Jul 2003
    Location
    Texas
    Posts
    6,883
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Hello

    Something like this should work:
    Code:
    my_combo.setStyle("themeColor", "haloBlue");
    Possible values are haloOrange, haloBlue and haloGreen which is the default.

    Of course there are other properties:
    Code:
    my_combo.setStyle("backgroundColor", "0xEEEEEE");
    And so on just check the help (goto>help>help) file for a complete list of all the possibilities.

    The "my_combo" is the instance name of teh combo box on the stage

    Hope this helps

  3. #3
    SitePoint Zealot
    Join Date
    Aug 2003
    Location
    Great White North
    Posts
    172
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Johnny Gulag
    Hello

    Something like this should work:
    Code:
    my_combo.setStyle("themeColor", "haloBlue");
    Possible values are haloOrange, haloBlue and haloGreen which is the default.

    Of course there are other properties:
    Code:
    my_combo.setStyle("backgroundColor", "0xEEEEEE");
    And so on just check the help (goto>help>help) file for a complete list of all the possibilities.

    The "my_combo" is the instance name of teh combo box on the stage

    Hope this helps
    Thank you, sir!

    Works like a charm!
    hockeyunderground.net
    - Fantasy Hockey Depot


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
  •