RE: [SPAM]Re: [flexcoders] Delay before text is updated

2008-08-05 Thread Tracy Spratt
My suggestion would be to write your text to the control, then use callLater() to call the main method. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Amy Sent: Tuesday, August 05, 2008 7:41 AM To: flexcoders@yahoogroups.com Subj

Re: [SPAM]Re: [flexcoders] Delay before text is updated

2008-08-05 Thread Ralf Bokelberg
Exactly. And please have a look at Josh's very good explanation of why it is that "long winded". You have the same thing in other programming systems as well. Eg. last time i looked at Java client programming, you need to establish a second thread for beeing able to update the UI and receive user i

Re: [SPAM]Re: [flexcoders] Delay before text is updated

2008-08-05 Thread Josh McDonald
Disclaimer: This is from memory, and details will be wrong :) I have documentation in the works for this, but it'll turn up in a blog post in a couple weeks when it's launched! I've also left out the sizing etc. When you set fields of most properly written components, you're usually not setting a

Re: [SPAM]Re: [flexcoders] Delay before text is updated

2008-08-05 Thread Laurent Cozic
2008 9:33:56 AM Subject: RE: [SPAM]Re: [flexcoders] Delay before text is updated Thanks for the replies. My method basically creates a fairly large string and then writes this string to disk as an xml file. So are you saying, if my function takes say 10 seconds to complete, there will

RE: [SPAM]Re: [flexcoders] Delay before text is updated

2008-08-05 Thread Paul Steven
When you say delay the call to the method, do you mean set a timer to a small time period (say 500 milliseconds) after which it will call the "createStudentDataXMLFile" function? I definitely must be missing something fundamental here as seems a really long winded way to get some text to update

RE: [SPAM]Re: [flexcoders] Delay before text is updated

2008-08-05 Thread Paul Steven
Thanks for the replies. My method basically creates a fairly large string and then writes this string to disk as an xml file. So are you saying, if my function takes say 10 seconds to complete, there will be no ENTER_FRAME dispatched during this time? If so then is there any function I can