0 Replies Latest reply on Apr 25, 2012 1:38 AM by jumpie1989

    looping over arraycollection with sap data



      I asked a lot of persons but i still have a problem.

      I am trying to make a organizational chart in Adobe Flex with data out of the SAP system.

      When I try to access my data that I have given trough the Flash Islands container it doesn’t work.


      I do:


      Public var datasource:Arraycollection;


      Then I want to loop over this datasource with a for loop but it says that the object is null.

      for (i = o; i < datasource.length; i++)


      When I use datasource as dataprovider for a datagrid in Flex, that works perfect.


      Please answer fast because I need it for school.