Re: [Flashcoders] Scroll to maximum vPosition?

2007-08-23 Thread Muzak
maxVPosition is a property of the ScrollView class, which isn't documented. mx.core.ScrollView regards, Muzak - Original Message - From: "Mendelsohn, Michael" <[EMAIL PROTECTED]> To: Sent: Thursday, August 23, 2007 2:25 PM Subject: RE: [Flashcoders] Scroll

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 arch

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 (

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: