This is probably considered a 'hack' but you can always get the y value of the 
child and 
then move the vertical scroll position to the location manually...

var newPosition:int = child.y;

vbox.verticalScrollPosition = newPosition;


Now this of course assumes that your vbox is the first or only container.  You 
may need to 
scale the verticalScrollPosition if the vbox is down your screen a bit 
following other Box 
containers.


--- In [email protected], learner <[EMAIL PROTECTED]> wrote:
>
> Hi all,
> I have a VBox, in which i keep on adding childs (of varying height) as an
> when some event is triggered...
> is there any why..to display the last child which is added....i mean to set
> the scrollbar position to the last by default.
> 
> 
> Thanks in advance
> PS
>



Reply via email to