So you do see a change, but just at the end.

 

Flash/Flex is a deferred rendering model.  You run code to modify the
display list, then the player renderers the displaylist.  You would have
to chain up callLaters and do one DataGrid at a time.

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of markgoldin_2000
Sent: Sunday, April 20, 2008 11:58 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Show progress on Progressbar

 

Yes, it is. It looks like no updates go to the screen before 
computation process is over.

--- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Worked for me. Make sure totalProgress is between 0 and 100
> 
> 
> 
> ________________________________
> 
> From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>

[mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
] On
> Behalf Of markgoldin_2000
> Sent: Saturday, April 19, 2008 8:58 AM
> To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> 
> Subject: [flexcoders] Show progress on Progressbar
> 
> 
> 
> I am building complex dataGrids, about 20. I would want to show 
some 
> progress of a building process on a Progressbar. But I can't find a 
way 
> of the Progressbar's continious update.
> Here is some code:
> <mx:ProgressBar id="loadingProgress" mode="manual" label="Loading 
> Model ... Please wait"/>
> 
> and the update after the next dataGrid is being built:
> mainApp.loadingProgress.setProgress(totalProgress, 100);
> where totalProgress is just a value to test. But I dont see any 
change 
> on the Progressbar. Any idea?
> 
> Thanks
>

 

Reply via email to