1 Reply Latest reply on Feb 13, 2008 11:02 AM by Arty13

    Custom Scroll Bars

    ChiefRocka00 Level 1
      I am looking for an exmple where someone made a custom scroll bar, has anyone found one or done it themselves?
        • 1. Re: Custom Scroll Bars
          Arty13 Level 1
          I have changed my default apperence of Vertical and Horizontal scroll bars through a css file, you could essentially do it within AS, but here is an example of part of my css file for my vertical scroll bar, you could do the same thing for an horizontal scroll bar

          ********************

          VScrollBar {
          downArrowUpSkin: Embed(source="/img/downArrow.png");
          downArrowOverSkin: Embed(source="/img/downArrow.png");
          downArrowDownSkin: Embed(source="/img/downArrow.png");
          upArrowUpSkin: Embed(source="/img/pArrow.png");
          upArrowOverSkin: Embed(source="/img/upArrow.png");
          upArrowDownSkin: Embed(source="/img/upArrow.png");
          thumbDownSkin:
          Embed(source="/img/scrollThumb.png",
          scaleGridLeft="7", scaleGridTop="5",
          scaleGridRight="8", scaleGridBottom="7");

          thumbUpSkin:
          Embed(source="/img/scrollThumb.png",
          scaleGridLeft="7", scaleGridTop="5",
          scaleGridRight="8", scaleGridBottom="7");

          thumbOverSkin:
          Embed(source="/img/scrollThumb.png",
          scaleGridLeft="7", scaleGridTop="5",
          scaleGridRight="8", scaleGridBottom="7");

          trackSkin:
          Embed(source="/img/track.png",
          scaleGridLeft="7", scaleGridTop="4",
          scaleGridRight="8", scaleGridBottom="6" );
          }

          ************

          Hope this helps you out.

          Art