1 Reply Latest reply on Jun 11, 2010 2:08 AM by Karl_Sigiscar_1971

    A question with ProgressBar in FLEX 3

    kiran7881 Level 1

      Hi ,

      I am trying to work with the examples of ProgressBar from FLEX 3 .


      I saw an example where the source of an progressBar is data.progress and there is no component with the id as data .

      similar to this :


      <mx:ProgressBar id="MYPB" source = "{data.progress}"/>

       

      Can anybody please throw a light on this .

       

      Thanks in advance .

        • 1. Re: A question with ProgressBar in FLEX 3
          Karl_Sigiscar_1971 Level 3

          The source of a progress bar can be any instance of a class that dispatches the ProgressEvent. It can be Image, SWFLoader, FileReference or your own class.

           

          The RemoteObject class for example does not dispatch this event (you can only know when there is a result or an error), so you cannot use it as the source of a ProgressBar component in event or polled mode.