0 Replies Latest reply on Feb 22, 2010 5:32 AM by uzairseedat

    Binding to Array element using BindingUtils

    uzairseedat

      I have an arraycollection that would have (say) 5 elements in it. Then I have a component with a property that would need to bind with one of the elements in the array. Which element does it gets bound to, is determined at runtime by a function. How would I do that in Actionscript? I am stuck using the BindingUtils.....

       

      e.g.  I need to bind the dataProvider property of my component to arr[0] for one instance  and to  arr[4] for another instance.