Hi, im dealing with a similar issue. If you know the setID can you
not skip a step and do:
private function getSets():void{
this._fs.photosets.getPhotos(SET_ID);
this._fs.addEventListener(FlickrResultEvent.PHOTOSETS_GET_PHOTOS,
handlePhotos);}
private function handlePhotos(e:FlickrResultEvent):void{
pics = evt.data.photoSet as PhotoSet;
/* and the array of photos is stored in pics.photos */
}
On Jan 6, 5:30 pm, jassa <
ja...@viamedia.com.au> wrote:
> Hi Jesse,
>
> There certainly is - you can use the photosets.getList() method. So in
> your case, it would read something like:
>
> private function getSets():void{
> this._fs.photosets.getList(USERID);
> this._fs.addEventListener(FlickrResultEvent.PHOTOSETS_GET_LIST,
> handleSetList);}
>
> private function handleSetList(e:FlickrResultEvent):void{
> var a:Array = e.data.photoSets as Array;
> for(var i:uint = 0; i < a.length; i ++){
> var ps:PhotoSet = a[i] as PhotoSet;
> trace(
ps.id);
> }
>
> }
>
> Each of the sets in that Array will have an ID (along with a bunch of
> other information). You can use the photosets.getPhotos() method and
> pass it a set ID to get the photos that are inside of that set. Hope
> that makes sense! Make sure you check out the following links to get
> your head around it...
>
> AS3 Flickr Library API Documentationhttp://
as3flickrlib.googlecode.com/svn/trunk/docs/index.html
>
> photosets.getList methodhttp://
as3flickrlib.googlecode.com/svn/trunk/docs/com/adobe/webapis/f...()
>
> and the photoset classhttp://
as3flickrlib.googlecode.com/svn/trunk/docs/com/adobe/webapis/f...