hello,
thanks alex. it worked :D. i guess i dont need to
report error anymore.

MayorBrain
--- Alex Harui <[EMAIL PROTECTED]> wrote:

> Try using callLater in response to updateComplete
> event after you change
> the text.  Basically you're trying to workaround an
> idiosyncracy in the
> player where it doesn't update the scroll properties
> until after the
> text has been drawn.
> 
>  
> 
> ________________________________
> 
> From: [email protected]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> okegbenle mayowa
> Sent: Monday, December 17, 2007 6:08 AM
> To: [email protected]
> Subject: RE: [flexcomponents] TextArea not scrolling
> automatically
> 
>  
> 
> 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]
> <mailto:brainny2002%40yahoo.com> > 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]
> <mailto:aharui%40adobe.com> > wrote:
> 
> > Use callLater to delay setting the
> > verticalScrollPosition.
> > 
> > 
> > 
> > ________________________________
> > 
> > From: [email protected]
> <mailto:flexcomponents%40yahoogroups.com> 
> > [mailto:[email protected]
> <mailto:flexcomponents%40yahoogroups.com> ] On
> Behalf Of
> > okegbenle mayowa
> > Sent: Sunday, December 16, 2007 11:02 PM
> > To: [email protected]
> <mailto:flexcomponents%40yahoogroups.com> 
> > 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>
> 
> >
>
<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
> <http://www.yahoo.com/r/hs> 
> 
>  
> 
> 



      
____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Reply via email to