> I know some of the code may be off, but I am trying to understand how a non > called function (resultHandler) can return data to the called function in a > different class.
The way you are trying to do it, I don't think it can. > So my question is, if the index.mxml calls the getAll function in the UserDAO > class, will the getMyData function still receive the ArrayCollection from the > resultHandler? In the code you provided, I don't see how it could because getAll() does not return an array. > If I were to fire this off, till the result be that my users ArrayCollection > in the index.mxml be populated in the end? Thanks! _users in resultHandler() will be populated but it will not be returned in Users.getAll(). If you want to use an ArrayCollection across multiple classes in Flex, you might consider making it a Singleton. If you need to manipulate the ArrayCollection, do it in the resultHandler(). I hope that helps. I will monitor this thread if you have any other questions.

