1 Reply Latest reply on Nov 30, 2011 8:34 PM by shining.finger

    canvas max scrollbar


      i have a problem with canvas maximum scroll bar


      it supposed to reach maximum scroll position but it's not

      the picture shows the maxHorizontalScrollPosition

      how to fix it since maxHorizontalScrollPosition read-only attribute



        • 1. Re: canvas max scrollbar
          shining.finger Level 1

          solved i just need to add enter frame event then add update horizontalScrollPosition function

          private function onEnter(e:Event):void {


                      removeEventListener(Event.ENTER_FRAME, onEnter);


          private function updateScrollPosition():void


                      horizontalScrollPosition = maxHorizontalScrollPosition;