0 Replies Latest reply on Jun 3, 2006 9:09 PM by maiocchino

    custom ScrollPane color

    maiocchino
      Hi. I would like to customize the color of the arrow, scroll track, and slider of the ScrollPane component.
      The following code does not to work. Help please!

      /* this works */
      _global.styles.ScrollPane=new mx.styles.CSSStyleDeclaration();
      _global.styles.ScrollPane.setStyle("backgroundColor","0xFFCC00");
      _global.styles.ScrollPane.setStyle ("borderStyle", "none");
      /* this does not work */
      _global.styles.ScrollPane.setStyle("scrollTrackColor","0xFFCC00");
      _global.styles.ScrollPane.setStyle("symbolColor","0xFF0000");