[Flashr] Question regarding Flashr Viewer-esque application
sadoian at mit.edu
Tue Aug 12 20:22:29 PDT 2008
Thanks for the response! Actually, I figured out what I was doing wrong -
using the [group].getPhotos method did not work as I had thought, and so
after changing it to more closely follow the behavior of your Barcamp
tutorial (using the ResultsSet object to get photos), things worked out just
Thanks again for the wonderful API, in the end it will make our website so
much easier to deal with, update, etc. Excellent work!
On Tue, Aug 12, 2008 at 11:18 PM, Kelvin Luck <kelvin at kelvinluck.com> wrote:
> 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,
> > 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
> > 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
> > tag that finds fewer photos than the one before it, in which case the
> > 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 :)
> Flashr mailing list
> Flashr at osflash.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Flashr