RE: [flexcoders] Flex 2.0 beta TextArea question

2006-02-09 Thread Jonas Windey
:[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. Mac

RE: [flexcoders] Flex 2.0 beta TextArea question

2006-02-09 Thread Gordon Smith
] 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 from code didn't work

RE: [flexcoders] Flex 2.0 beta TextArea question

2006-02-09 Thread Mac Martine
@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 what's going on. - Gordon -Original

RE: [flexcoders] Flex 2.0 beta TextArea question

2006-02-09 Thread Gordon Smith
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, heres the difference between your examples In your example where you set the vPosition from a Button: private function

RE: [flexcoders] Flex 2.0 beta TextArea question

2006-02-08 Thread Jonas Windey
To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex 2.0 beta TextArea question 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

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 function

RE: [flexcoders] Flex 2.0 beta TextArea question

2006-02-08 Thread Mac Martine
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 on a button

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's

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 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.vPosition =

RE: [flexcoders] Flex 2.0 beta TextArea question

2006-02-08 Thread Gordon Smith
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 after the text is set. The new value

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.maxVPosition;