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
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
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.
. 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
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
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
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
7 matches
Mail list logo