8 Replies Latest reply on Apr 22, 2009 9:07 PM by Flex harUI

    ProgressBar 1 works right, one don't?

    john isaacks Level 1

      If I make my progress bar like this:

       

      <mx:ProgressBar id="progBar"

      color="#FFFFFF"

      indeterminate="true"

      labelPlacement="center"

      width="200"

      removedEffect="fade"

      addedEffect="fade"

      />

       

       

       

      Then shoes the bar moving to show progress.

       

      but if I make it like this:

       

      _progBar = new ProgressBar();

      _progBar.width = 200;

      _progBar.indeterminate = true;

      _progBar.labelPlacement = 'center';

      _progBar.setStyle("removedEffect", fade);

      _progBar.setStyle("addedEffect", fade);

      _progBar.setStyle("color", 0xFFFFFF);

       

       

       

      With all the same properties set, it looks the same but the progress doesnt move?

       

      Anyone know why?

       

       

      Thanks.