From: http://blog.benstucki.net/?p=23
I promised one completely free and open source Flex component each week in May, and I’m determined to deliver. So after a busy week at my .NET day job, I managed to stay up last night and make the AutoScroll component from scratch. The AutoScroll component will render a horizontal display container that scrolls according to your mouse position. You should provide it with a dataProvider and itemRenderer and it will do the rest. I wanted to extend the ListBase for this component, but I couldn’t overcome the underlying problems in time. I’ll revisit this at some point in the future, but in the mean time feel free to improve it on your own.
AutoScroll Explorer (Flash Player 9 Beta 3 Required)
View AutoScroll Explorer Source
Download AutoScroll Explorer Source


Nice work as always Ben. I particularly like the color transform. I built a test file with the fisheye at one point that used color transforms to greyscale the non-hilighted items, but I didn’t like the effect. I might have to go back and try it again with a more gradual transition from color to grey, similar to what you have here.
Ben, this is still by far the most attractive example I’ve seen on how to load thumbs into a gallery. As a non-coder, it’s great for me to have, thank you!
I have been working hard on this for months (newbie here!) and I’ve almost got it to the point where people can use it by populating their own xml files (i.e., no need for a flickr account, if you are a photographer for example and a Flex designer and want to build your own site).
The only problem I’m having is something I hope someone could help me with: when loading a new gallery of thumbs, I can’t figure out how to replace the content in the Scroller, rather than appending to the right of the current content, which is currently does. I’d like new galleries (when clicked from a button or loaded in a Tree, for example) to replace the current set of thumbs and the current xml file with the new one.
Any suggestions?
Here’s my work based totally on yours, and I hope you don’t mind me asking here or showing what I’ve done. View-source is enabled, of course:)
http://www.faceitphoto.ca/scroller/THUMBShttpservice.html
Shawn