Flex ProgressBar component problem
Posted
by Abhinav
on Stack Overflow
See other posts from Stack Overflow
or by Abhinav
Published on 2010-05-20T21:50:41Z
Indexed on
2010/05/21
0:10 UTC
Read the original article
Hit count: 656
I am trying to use the ProgressBar Flex component inside a custom Actionscript 3.0 component derived from the UIComponent class. I have set the minimum and maximum values etc.
_progressBar = new ProgressBar();
_progressBar.label = "Loading";
_progressBar.minimum = 0;
_progressBar.maximum = 100;
_progressBar.direction = ProgressBarDirection.RIGHT;
_progressBar.mode = ProgressBarMode.MANUAL;
The component shows the "Loading" text but not the loading bar.
Anything like _progressBar.setProgress(20, 100)
does not have any effect on the code. Any ideas why this is not working?
© Stack Overflow or respective owner