Hi Kelvin, thanks a lot
u39;re better than S.Francesco
helpin g the lost sheeps...
and just for it, last but not least, I wanna ask a question ...
in this way, upgrading to 0.5 flashr';s version, I can easely load
a given photoset (the photo inside of it) of my ID...
---------------- import com.kelvinluck.util.LogWrapper; import com.kelvinluck.flashr.core.FlashrResponse; import com.dynamicflash.utils.Delegate; import com.kelvinluck.flashr.core.ResultsSet; import com.kelvinluck.flashr.core.Photo
; import com.kelvinluck.flashr.core.Photoset import com.kelvinluck.flashr.core.Flashr;
var apiKey:String = "0000000"; var userNsid:String = 000000 N00">000000 N00
var page:Number = 1; var myTarget:MovieClip; var photoSetArray:Array=new Array();
function UserRecentPhotos(target:MovieClip) { Stage.scaleMode = "noScale"; myTarget = target; var _flashr = Flashr.getFlashr(); _flashr.apiKey = apiKey; _flashr.cacheQueries = true;
var _flashrResponse = new FlashrResponse(); _flashrResponse.onPhotosetsGetPhotos=Delegate.create(this, photosetsGetPhotos); _flashr.photosetsGetPhotos(000000, null, 1); }
function photosetsGetPhotos(p:Photoset):Void { var photosArray:Array = p.getPhotos(); } for (var i:Number = 0; i<9; i++) { ---------------- in this for loop I decide to show just 9 photos, cause flashr will load all the photos inside the photoset.
How can I make a pagination like in the method peopleGetPublicPhotos(userNsid, null, 9, page) with the photosetsGetPhotos method? In the Flickr API, as well as the most part of the Get methods, the photosetsGetPhotos seems to support the parameters 'photos per page' and the last parameter 'page'. Is not in this way for flash
0.5 that don't support parameters for pagination (that's right?). what do u suggest, Francesco, ops Kelvin ?
-- Filippo Zaffini
|