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
how do I actually get the data back to a caller function?
you can't. The request is async. The caller has long since finished executing
when the result comes back.
Have the resultHandler do whatever needs to be done with the result.
--- In flexcoders@yahoogroups.com, Wally Kolcz wko...@...
--- In flexcoders@yahoogroups.com, Wally Kolcz wko...@... wrote:
Looking for a little education from all the people smarter than me of
remoteObjects. I have always used the MXML version which includes the
resultHandler attribute which made managing the returned data easy. However I
never
3 matches
Mail list logo