1 Reply Latest reply on Mar 5, 2009 8:59 PM by Madhav Subedi

    ArrayCollection refresh

    kemah551
      How do I refresh an ArrayCollection? My array displays the correct data upon start up, but will not update when a value changes via a slider or stepper. I have bound a slider's value to a NumericStepper and will use the stepper's value in the array.

      any help would be greatly appreciated.

      Code snip below:

      [Bindable]
      public var expenses:ArrayCollection;

      private function init():void
      {
      expenses=new ArrayCollection([

      {FixedValue:"Implied Default Rate", Profit:15.80, Expenses:(stepper.value-stepper2.value)/stepper0.value*(100)}