[Flashr] Question regarding Flashr Viewer-esque application
Kelvin Luck
kelvin at kelvinluck.com
Tue Aug 12 20:18:15 PDT 2008
Hi,
Sorry for the slow reply - I'm on the road in Canada at the moment...
>
> I have this section set up where there are a number of sub-sections, where
> each section, when loaded, will load a different set of images, based on
> their tag. When the movie initially loads, the first set of images come
> through just fine, however, once I click another link, Flashr will make two
> calls to the onGroupsPoolsGetPhotos function (and on another it click it
> will make three calls, and so on, etc). This seems to be OK until I reach a
> tag that finds fewer photos than the one before it, in which case the photos
> from another tag will be pulled in as well.
I haven't downloaded your code but it sounds like you are creating a new FlashrResponse when each link is pressed. Every FlashrResponse will receive the callbacks from any Flashr call. So you should try to ensure that you only create one FlashrResponse object and that in the on* calbacks you somehow distinguish which call was made (if nececessary you can use resultsSet.request in your onGroupsPoolsGetPhotos callback...
Hope that helps,
Kelvin :)
More information about the Flashr
mailing list