I built a database reporting application in flex that's working fine. However, some of the datasets are large and the end user requested a progress bar for long loads.
No problem, right? I used <mx:ProgressBar> set the mode to manual, and as ActionScript processes the dataset, call showProgress() repeatedly.
Trouble is, the animation doesn't play. The Progress Bar just sits on the screen, empty, until the data is completely loaded, then jumps to 100% and disappears.
I tried switching the progress bar to "indeterminate" and something similar happens: The indeterminate bar appears, but the animation doesn't play until the data has populated the DataGrid, then the animation starts playing just before the bar disappears.
Can anyone help? A progress bar that doesn't sho progress is kinda worthless.
Go through the example and comments, hope it might help.
I haven't worked with ProgressBar, thought might be useful.