2 Replies Latest reply on Jul 14, 2009 1:38 AM by nikos101

    Is there a way to call a function with in the initializer of a ArrayCollection?

    nikos101 Level 2

          Is there a way to call a function with in the initializer of a ArrayCollection?

       

      It won't let me do this:

       

       

      var ac:ArrayCollection = new ArrayCollection([
                          {childName:'addTrade',index:addTradeIndex },
                          {childName:'tradeList',dealsCanvas.getChildIndex(tradeList) }
                          ]);