|
About
PicasaFlex API usage tips.
Featured, flex, picasa, api, as3, actionscript, Phase-Deploy, Phase-Implementation This little project is aimed to create full support of Picasa in Flex Usage DetailsFirst: download PicasaFlex API library from http://code.google.com/p/picasa-flex-api/ , unzip and drop it into your project lib folder. Second: Configure your gallery and album in init() function gService.userName = username;
gService.proxied = true;
gService.projection = GDataService.GDATA_PROJECTION_API;
gService.getPhotosByAlbum("Your Album name",0,16);
gService.addEventListener(GDataEvent.GET_ALBUM,handleAlbum);
gService.addEventListener(GDataEvent.GET_PHOTO,handlePhoto);where gService.userName is your gallery user name, and where "Your Album name" is the string name of your album. Third: Build and deploy! That is it! Very simple :) Working prototype can be found here - Picasa Flex prototype And sample project here - http://riahut.com/tutorial/simple-picasa-gallery-flex-and-picasaflex-api |
► Sign in to add a comment
Hi, I have been trying embedding picasa api with flex web application. My issues is that i need to load and look at all the albums of the particular user. Uptil now i have authenticated user through the use of google Authsub. Also got the token. But now m not able to use the service to call the users list of album. I don know actually how to send request picasa web regarding the album of the user. Any kind of help in this subject would be appriecieted. Thanks