[Flashr] using ResultsSets
Kelvin Luck
kelvin at kelvinluck.com
Mon Jun 22 17:06:14 PDT 2009
Hi,
As you have seen, onFavoritesGetList gets passed a user and a resultsSet
[1].
The ResultsSet has a variety of properties but it sounds like you are
interested in the photos property [2]. So something like this should work:
function onFavoritesGetList(user:Person, resultsSet:ResultsSet)
{
trace (resultsSet.photos);
}
Does that work for you? If not then can you send the code which is
displaying problems for you and I will try to debug,
Thanks,
Kelvin :)
[1]
http://flashr.kelvinluck.com/assets/0.5/docs/files/com/kelvinluck/flashr/core/FlashrResponse-as.html#com.kelvinluck.flashr.core.FlashrResponse.onFavoritesGetList
[2]
http://flashr.kelvinluck.com/assets/0.5/docs/files/com/kelvinluck/flashr/core/ResultsSet-as.html#com.kelvinluck.flashr.core.ResultsSet.photos
On Mon, 22 Jun 2009 19:19:13 -0400, James Burns <jameburn at gmail.com> wrote:
> I am new to working with Flashr and am having difficulties using the
> ResultsSets returned when the favoritesGetList method is called. I have
> been successfully using the photosSearch method and then using the
> photos array that is returned. Because the favoritesGetList does not
> return the photos array seperately, I need to access it through the
> ResultsSet object, but when I do so it returns an error.
>
> Any help appreciated.
>
> _______________________________________________
> Flashr mailing list
> Flashr at osflash.org
> http://osflash.org/mailman/listinfo/flashr_osflash.org
More information about the Flashr
mailing list