_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: <flashcoders@chattyfig.figleaf.com>
Sent: Wednesday, August 22, 2007 4:23 PM
Subject: SPAM-LOW: [Flashcoders] Scroll to maximum vPosition?


Hi list...

Setting a V2 ScrollPane's vPosition is easy enough, but for sending it
all the way to the bottom.  The following isn't working for me:

_root.sp.vPosition = _root.sp.content._height;

Anyone know if a trick is involved?

Thanks,
- Michael M.
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to