My favorites | Sign in
Project Logo
                
Search
for
About  
PicasaFlex API usage tips.

This little project is aimed to create full support of Picasa in Flex

Usage Details

First: 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
Hosted by Google Code