dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: How can I customise colours of MX Components

  1. #1
    swfBB Developer
    Join Date
    Oct 2000
    Posts
    239

    How can I customise colours of MX Components

    Hi Peeps.

    Been looking around the forums for a method of doing this but so far I havent found anything. I have seen in a few threads where you can use globalstyleformat to customise all of the components in mx movies, however I want to use some colours on some components and different ones on others. Does anyone have an example of how I can do this and also is there anyway I can find a list of everything that can be customised, for example what all the parts of the components are called eg the arrow bit and background and scrolltrack etc.

    Thanks

  2. #2
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397

  3. #3
    swfBB Developer
    Join Date
    Oct 2000
    Posts
    239
    Yeah like that

  4. #4
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    scrollbar1.setStyleProperty("arrow", 0x00FFFF);
    scrollbar1.setStyleProperty("face", 0x000000);
    scrollbar1.setStyleProperty("scrollTrack", 0xFF9900);
    scrollbar1.setStyleProperty("darkshadow", 0xFF0000);
    scrollbar1.setStyleProperty("shadow", 0x00FF00);
    scrollbar1.setStyleProperty("highlight", 0x00FFFF);
    scrollbar1.setStyleProperty("highlight3D", 0xFF00FF);
    scrollbar1.setStyleProperty("foregroundDisabled", 0xFFFFFF); // for disabled scrollbar only!

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