Archive for August, 2007

Flex Thumbnail Browser Component

Thursday, August 30th, 2007

Regular readers of my site have probably noticed that I have been an inactive blogger over the past couple of months. There’s a very good reason for this. Since starting my own consultancy, I have been very busy! I think I may actually be working for the first time in my life - and having a helluva time doing it. What’s been keeping me so busy? FLEX! For the past four months I have had my head down in Flex Builder creating a revolutionary RIA (beta coming next month).

It’s my year anniversary working with Flex (save a two month stint with Ruby on Rails) and in that year I’ve learned a great deal. Most of my days are spent writing ActionScript 3 components and I must admit that I think I’m getting very good at it. So to ‘prove’ it and to share with the Flex community, I am offering my first Flex component for download!

ThumbBrowser is a knock off of a new widget found in iPhoto ‘08. It is a small component that will collect all of your image thumnails into one component. When you move your mouse across the component, you get previews of all the thumbs in collection. You can view a demo here and download the source here.

Some quick notes:

  • The component’s dataProvider property only accepts an array of URL’s/paths to images (I hope to add XMLList soon)
  • You can set 4 styles: borderColor, borderThickness, cornerRadius, and backgroundColor
  • Component dispatches only a click event. I would like to add a progress and complete event in the next release
  • The full size image is downloaded, but the image is scaled so only a small representation of the images actually stays in memory (I think this is true, please correct me if I am wrong)
  • I will add ASDoc style comments over the next few days, and hope to submit it to FlexLib.
  • Although there is no open-source license attached to the component, please feel free to use is it as you please.
  • ThumbBrowser might make a better Adobe AIR component, as loading a large collection of images over the web could take a while.

I’d love to hear your feedback on the component, and please send suggestions as to how I might be able to make ThumbBrowser better!

Enjoy!

Link Dump from my Flex Presentation

Thursday, August 23rd, 2007

Last night I gave a presentation to a group of about 40 web developers/designers in Victoria, British Columbia. I promised you all a link dump of the sites I visited so here it is…

Samples of Rich Internet Applications developed with Flex:

Flex Resources at the Adobe website:

A good way to keep up on Flex and AIR related topics:

During the session we created a Flex application that grabbed my favorite Flickr Images, and placed them into a Display Shelf component. We published the code as a Flex application and an AIR application. You can download the source code for both projects as well as my presentation slides in this zip package. Here are a couple of links to the Flickr API you might find useful if you decide to modify my source:

I hope you enjoyed the presentation as much as I enjoyed presenting! Thanks again for showing up!

Speaking Engagment

Tuesday, August 21st, 2007

I will be in Victoria, British Columbia on Wednesday August 22nd speaking to the Better Web Posse. My presentation will be on Flex and AIR and will discuss many things including Flex’s support for open standards, myths surrounding the Flex framework, and a quick introduction to AIR and its support for AJAX development. There will also be a live coding session where I will spin up a quick Flickr mashup using Ely Greenfield’s Display Shelf component. Should be a fun night so if you’re on Vancouver Island and want to learn more about Adobe Flex here are the event details:

WED August 22 | 6:30 pm
Swans Hotel, The Collard Room
(map)
Attendance is free!

Welcome to Flex 360

Monday, August 13th, 2007

I arrived in Seattle yesterday for the second Flex 360 Conference.  I’ve been to a few conferences over the past year, and so far this is the one I have been most impresses with.  Upon check-in at the hotel, I was told that registration was being held at 8:00pm and to be immediately followed by free food and FREE BEER!  Awesome!  The nicest part of the first night was being greeted by the conference organizer, Tom Ortega, right at the registration table.  I get the feeling that this will be a very personal conference.

I’m looking forward to seeing as many sessions as possible, and if you are a regular reader of this blog and happen to be at the conference, I would love to meet you.  I will be the guy wearing the navy blue polo shirt with a Braxio Interactive logo on the front.

Copy to Clipboard Shell Command

Wednesday, August 1st, 2007

Here is a neat OSX Terminal tip. You can pipe command line output to the system clipboard by using the pbcopy command. To see it in use, open Terminal then type:

ls -al | pbcopy

Then open your favorite text editor and press command-v. The output from the command you typed is now pasted into your text document!