…scroll an element into view in Flex?
This worked for me:
-
var myButtonBounds : Rectangle = myButton.getBounds (this);
-
verticalScrollPosition = myButtonBounds.bottom;
In the above, myButton was the Flex component I needed to bring into view by scrolling up the content of its container.
