1 Reply Latest reply on Jul 6, 2009 8:33 AM by rgadiparthi

    Scroll if given control in hidden in the scrollbar

    Rakesh Prajapati

      Hi,

       

      I have designed a page which has got complex nested mxml tags. If information in any of the container is more than the space then a vertical scrollbar comes. Now beause of some user action, I need to highlight a particular control (say Label or Text) and it that control is hidden under the scroll bar then i also need to scroll it programatically to make that control visible.

       

      The first part (highlighting of the control) is done. But i do not know how to scroll the scroll automatically. So there are to wo things I want to know

      1. How to identify whether any control in hidden under any scroll bar or not?

      2. If yes, then the scroll bar is on which container? It can be it's immediate parent or super parent.

       

       

      Thanks

      -Rakesh