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 (scrollMax)
mcScrollPane.doLater(this, "putScrollBarMax");
}
// forces the scrollBar to Max position
private function putScrollBarMax():Void{
mcScrollPane.vPosition = mcScrollPane.maxVPosition;
}
--
Nicolas TASKY
conseil, analyse et développement multimédia
ntasky.com - T.(514) 251-6267 C.(514) 839-6426
----- Original Message -----
From: "Mendelsohn, Michael" <[EMAIL PROTECTED]>
To: <flashcoders@chattyfig.figleaf.com>
Sent: Wednesday, August 22, 2007 4:23 PM
Subject: [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