RE: [flexcoders] Flex 2.0 beta TextArea question

2006-02-09 Thread Gordon Smith
:flexcoders@yahoogroups.com] On Behalf Of Mac Martine Sent: Thursday, February 09, 2006 10:24 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex 2.0 beta TextArea question     If I understand you correctly, here’s the difference between your examples…   In your example where you

RE: [flexcoders] Flex 2.0 beta TextArea question

2006-02-09 Thread Mac Martine
6:37 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex 2.0 beta TextArea question   Sorry, I'm not following you. If you can be more explicit about what did and didn't work (i.e., what's in the body of the function, and how you call it), I can probably explain

RE: [flexcoders] Flex 2.0 beta TextArea question

2006-02-09 Thread Gordon Smith
[EMAIL PROTECTED] On Behalf Of Jonas Windey Sent: Thursday, February 09, 2006 1:26 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex 2.0 beta TextArea question Thanks, validateNow() did the trick. Still weird though that calling the same function from a button did the event, but f

RE: [flexcoders] Flex 2.0 beta TextArea question

2006-02-09 Thread Jonas Windey
ailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith Sent: donderdag 9 februari 2006 8:29 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex 2.0 beta TextArea question There should be no need for callLater() or a Timer. These are workarounds from Flex 1.X that we want to banish in Flex 2.

RE: [flexcoders] Flex 2.0 beta TextArea question

2006-02-08 Thread Gordon Smith
D] On Behalf Of Manish Jethani Sent: Wednesday, February 08, 2006 12:10 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex 2.0 beta TextArea question On 2/8/06, Manish Jethani <[EMAIL PROTECTED]> wrote: > Okay, the problem is that the TextArea's maxVPosition is 0 even aft

RE: [flexcoders] Flex 2.0 beta TextArea question

2006-02-08 Thread Pooja Sharma
Hi !   Please let me know if anybody is looking for on-site long term contract as Flex developer.   Thanks PoojaJonas Windey <[EMAIL PROTECTED]> wrote: Yea, that example works too for me, I think the problem is somewhere else.private function setLogVPosition():void{  txtLog.vPositio

Re: [flexcoders] Flex 2.0 beta TextArea question

2006-02-08 Thread Manish Jethani
On 2/8/06, Manish Jethani <[EMAIL PROTECTED]> wrote: > Okay, the problem is that the TextArea's maxVPosition is 0 even after > the text is set. The new value of maxVPosition is calculated only on > the next screen update. ... and the solution for now is to use callLater() or a timer or something

Re: [flexcoders] Flex 2.0 beta TextArea question

2006-02-08 Thread Manish Jethani
On 2/8/06, Jonas Windey <[EMAIL PROTECTED]> wrote: > Yea, that example works too for me, I think the problem is somewhere else. Okay, the problem is that the TextArea's maxVPosition is 0 even after the text is set. The new value of maxVPosition is calculated only on the next screen update. Here'

RE: [flexcoders] Flex 2.0 beta TextArea question

2006-02-08 Thread Mac Martine
:08 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex 2.0 beta TextArea question   Yea, that example works too for me, I think the problem is somewhere else. private function setLogVPosition():void {   txtLog.vPosition = txtLog.maxVPosition;  } If I trigger this function

Re: [flexcoders] Flex 2.0 beta TextArea question

2006-02-08 Thread Dominick Accattato
it doesn't have to be wired to clientside code.  You should be able to call the function..  What I'm guessing is that its a scoping issue.  I think that your socket handler is scoped outside your call.  Place a debug breakpoint and open up into debug mode.  You should be able to see if that func

RE: [flexcoders] Flex 2.0 beta TextArea question

2006-02-08 Thread Jonas Windey
on. It seems it has to be wired to some clientside event, and can't be triggered from code. Is that correct? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manish Jethani Sent: dinsdag 7 februari 2006 19:29 To: flexcoders@yahoogroups.com Subj

Re: [flexcoders] Flex 2.0 beta TextArea question

2006-02-07 Thread Manish Jethani
On 2/7/06, Jonas Windey <[EMAIL PROTECTED]> wrote: > > How would I set the scrollPosition of a textarea to it's maximum position? > I'm trying to create an msn-like socket application, and need to have my > textArea scrolled to the lowest position. > > I tried txtLog.vPosition = txtLog.maxVPosi

[flexcoders] Flex 2.0 beta TextArea question

2006-02-07 Thread Jonas Windey
Hi,   How would I set the scrollPosition of a textarea to it’s maximum position? I’m trying to create an msn-like socket application, and need to have my textArea scrolled to the lowest position.   I tried txtLog.vPosition = txtLog.maxVPosition; and txtLog.vPosition = txtLog.textFiel