2 Replies Latest reply on Oct 27, 2008 2:04 PM by Mike Bauer

    Preventing scoll on UIComponent

    Mike Bauer
      Is there a way to prevent the scroll bars from automatically showing when some DisplayObject is moved outside the UIComponents viewable area?

      I have a Box with a Canvas and finally a UIComponent with 2 images, and a Transition setup to move the images on the page when switching into that state, and a transition to move them off when switching out of that state. However, when the images move out of the viewable area, one of the parent containers displays scroll bars for a brief second as the images slide out. I would like to make this stop.
        • 1. Re: Preventing scoll on UIComponent
          Level 7

          "Mike Bauer" <webforumsuser@macromedia.com> wrote in message
          news:ge4fn7$ebi$1@forums.macromedia.com...
          > Is there a way to prevent the scroll bars from automatically showing when
          > some
          > DisplayObject is moved outside the UIComponents viewable area?
          >
          > I have a Box with a Canvas and finally a UIComponent with 2 images, and a
          > Transition setup to move the images on the page when switching into that
          > state,
          > and a transition to move them off when switching out of that state.
          > However,
          > when the images move out of the viewable area, one of the parent
          > containers
          > displays scroll bars for a brief second as the images slide out. I would
          > like
          > to make this stop.

          horizontalScrollPolicy="off" verticalScrollPolicy="off"


          • 2. Re: Preventing scoll on UIComponent
            Mike Bauer Level 1
            Thanks, this worked perfectly.