RE: [Flashcoders] Scroll to maximum vPosition?

2007-08-23 Thread Mendelsohn, Michael
Thanks Nicolas. It works fine. I just think it's funny that maxVPosition isn't listed under the ScrollPane component's help documentation (at least in 8). - MM ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the

Re: [Flashcoders] Scroll to maximum vPosition?

2007-08-23 Thread Muzak
] Scroll to maximum vPosition? Thanks Nicolas. It works fine. I just think it's funny that maxVPosition isn't listed under the ScrollPane component's help documentation (at least in 8). - MM ___ Flashcoders@chattyfig.figleaf.com To change your subscription

Re: [Flashcoders] Scroll to maximum vPosition?

2007-08-22 Thread Derek Vadneau
_root.sp.vPosition = _root.sp.content._height - _root.sp.height + 4; The height is probably bigger than the max scroll position so it's ignoring it. The +4 is for the border. Derek Vadneau http://tracethis.com - Original Message - From: Mendelsohn, Michael [EMAIL PROTECTED] To:

Re: [Flashcoders] Scroll to maximum vPosition?

2007-08-22 Thread ntasky
Hi, remember had the same problem, and i had to did this: hope that helps // manage the position of the scrollbar private function manageScrollBar(scrollMax:Boolean):Void{ // :KLUDGE: this line is needed to force the scroll mcScrollPane.vScrollPolicy = auto; mcScrollPane.invalidate(); if