RE: [flexcoders] Force UI update during intense AS work

2008-08-08 Thread Gregor Kiddie
ect: Re: [flexcoders] Force UI update during intense AS work Hi Kiddie, Thanks for your quick reply. you are right and I also know this is the only solution. but problem is that how to separate the workup into chunks. Actually I am reading tree nodes recursively and unable to divide t

Re: [flexcoders] Force UI update during intense AS work

2008-08-08 Thread George
You cannot do anything if you do not ask Flex to update. If you want to 'display something' before you finally update data provider, give an early collection of data provider (smaller and fast) to ask DataGrid could update. George verma.java wrote: > > Hello All, > > I am Ashish. I am working

RE: [flexcoders] Force UI update during intense AS work

2008-08-08 Thread Gregor Kiddie
The only real solution for this (as I'm sure you've discovered) is to try and separate the work up into chunks, allowing the UI to be updated in between these chunks. Until we get multiple threading, you have to limit the amount of work you are doing at any one time if you want the UI to keep up.

Re: [flexcoders] Force UI update during intense AS work: doLater, maybe?

2005-05-04 Thread JesterXL
. paging, that's still a huge arse RS you'll have to float around... but at least you can see how you can spread out your functions who don't pass unit testing time trials/profiling.   - Original Message ----- From: Tracy Spratt To: flexcoders@yahoogroups.com Sent: Wednesda

RE: [flexcoders] Force UI update during intense AS work: doLater, maybe?

2005-05-04 Thread Matt Chotin
PROTECTED] On Behalf Of Tracy Spratt Sent: Wednesday, May 04, 2005 6:56 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Force UI update during intense AS work: doLater, maybe?   Thanks, yes, I do get the idea.  I would have though that putting the doLater on my recursive call would

RE: [flexcoders] Force UI update during intense AS work: doLater, maybe?

2005-05-04 Thread Tracy Spratt
Gordon Smith Sent: Wednesday, May 04, 2005 9:02 PM To: 'flexcoders@yahoogroups.com' Subject: RE: [flexcoders] Force UI update during intense AS work: doLater, maybe?   The Flash player won't update the screen while one of your methods is executing. You'll have to break your

RE: [flexcoders] Force UI update during intense AS work: doLater, maybe?

2005-05-04 Thread Gordon Smith
Title: Message The Flash player won't update the screen while one of your methods is executing. You'll have to break your work up into chunks which can execute over a sequence of frames. A typical way to do this is:   1. Define an object which will keep track of how far your work has progr