I'm pretty new to Flex but I'm taking a few tutorials to try and get the hang of a project I'm working on.
I'm using AS3.
I currently need to just add an arraycollection (A) to an arraycollection (B) that is populating a datagrid. So when the user clicks an option on the left column, the resulting arraycollection (A) will be added to the currently displayed results in the right column.
I think I can just loop through A adding each row to B by using the additem() function, but I'm not exactly sure what syntax to use the loop properly. I also wondered if there was some property of the arraycollection that would give me the number of iterations I'm going to make [something like arraycollectionA.countArrays]
Any help would be greatly appreciated.
Thanks!