hello,
i posted a problem on the subject above. and i have
not gotten any solution. Has someone encountered this
problem before, or am i the first?
Mayorbrain
--- Okegbenle Mayowa <[EMAIL PROTECTED]> wrote:
hi,
using the callLater function still doesnt work.
i forgot to say that, the TextArea scrolls, but it
doesnt scroll to the very last.(ie, at every point in
time, the user is always seeing the second-to-the-last
message).
this is an what u asked me to do;
public function scrollDown():void
{
chatArea.verticalScrollPosition =
chatArea.maxVerticalScrollPosition; }
public function sendMessage(msg:String):void
{
chatsArea.htmlText +=msg;
chatArea.callLater(scrollDown)
}
MayorBrain
--- Alex Harui <[EMAIL PROTECTED]> wrote:
> Use callLater to delay setting the
> verticalScrollPosition.
>
>
>
> ________________________________
>
> From: [email protected]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> okegbenle mayowa
> Sent: Sunday, December 16, 2007 11:02 PM
> To: [email protected]
> Subject: [flexcomponents] TextArea not scrolling
> automatically
>
>
>
> hello,
> 've been having problems with my textarea and am
> going
> nuts.This is the problem;
> The textarea displays the conversation (its a chat
> application).when the vertical scroll bar appear, i
> want the vertical scroll position to always be at
> maximum, so the user will always see the just-sent
> message.
> now the code to use is
> textArea.verticalScrollPosition =
> textArea.maxVerticalScrollPosition
>
> but this is not working,ve tried all sort of tricks.
> please help!!
>
> Mayorbrain
>
>
__________________________________________________________
> Be a better friend, newshound, and
> know-it-all with Yahoo! Mobile. Try it now.
>
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>
<http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ>
>
>
>
>
>
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs