Home

School

Work

Play

work

widget

Fisheye Viewer - A Simple Flash/Flex Embeddable Photo Viewer

Posted On: Fri, 04/03/2009 - 07:18 by charles

A couple of weeks ago, I wrote a post about a simple Flash embeddable photo widget. The idea behind it was that it could be used by people as just a simple photo slideshow that can easily be dropped onto a website or blog. As I was playing around with it a bit more, I found another potentially useful application as well...a photo viewer.

With just a few more minutes, and a couple of extra lines of code in the original Fisheye Widget, I made a very simple Fisheye Viewer.





With just a few changes, you can easily modify the look and feel of your viewer. Try making it a vertical slide on the right of the main window...





There's nothing groundbreaking here, but something that people can hopefully make use of. Just as with the Fisheye Widget, you can easily re-create your own Fisheye Viewer by downloading the source, dropping your own image files into a folder named "images" alongside your SWF files, do some modifications in init() based on your photo set, re-compile, and you're done...you're own custom Flash Fisheye Viewer!

Fisheye Viewer

Enjoy!

Charles

Fisheye Component Widget - A Simple Flash/Flex Embeddable Photo Widget

Posted On: Mon, 03/09/2009 - 04:17 by charles

I was in the process of writing a post when I found that I needed a quick, preferably Flash, embeddable photo-viewing widget. I did a quick search on Google and didn't come up with anything, at least anything I wanted to use. So, I decided to create one...kinda. What you see below is based off of the Fisheye Component written by Ely Greenfield.





The sample that is provided by Ely actually runs on LiveCycle Data Services and also employs some other components in addition to the fisheye itself for things like modifying and editing the component's state. What I've done is simply extracted the fisheye component alone and turned it into a simple custom embeddable widget. For you to use it, all you have to do is download the source...

Fisheye Component Widget

...drop your photos into a folder named "images" alongside the FisheyeWidget.swf, do some modifications in the init() function based on your photo set, and you're done. It's ready to put on your website!

Enjoy!

Charles

*Again, I didn't write the Fisheye. This is an adaptation of the Fisheye Component written by Ely Greenfield.

( categories: )

Charles Bihis is a Computer Scientist for Adobe Systems. The views expressed in this blog are his own and do not necessarily reflect those of his employers.

 

Subscribe

Professional Adobe Flex