« Back to blog

Flex FlickrFlow

I needed a simple Flickr gallery viewer to show user's photos but I knew I'd seen a couple of cool Papervision based viewers so I decided to search for one. I found FlickrFlow and downloaded the source code and started hacking my way through it. First I made the background white and reduced the reflection size, this just required me to fill the bitmap white and create a smaller gradient box for the reflection. Then I decided it made no sense to use the full size image to show only a smaller one, so I switched to the AS3 Flick API and used the GetSizes API call to get the URL for the "Small" sized image. This worked and now it is a lot faster than it used to be. Still, FlickrShow would first fetch all the images and only then start loading then into CoverFlow, so I changed this as well.... Finally, I chose to always select the middle image instead of having a fixed index for selection. There are still a couple of bugs to fix, mainly regarding mouse click events which sometimes don't work unless you first use your mouse wheel or keyboard... in the meantime here is a small sample which searches for images with the tag "Madeira Island".

 

| Viewed
times