There are many places where this might come in handy. The first place I used it was in a shopping cart for a photo site. There are 4 options to choose from when you are purchasing a photograph, and the visitor must choose one before going further. To act as a quick reminder of what each option is I created the InfoBox and it works perfectly. It takes no more space than the More Info button and can provide an image and a link as well as the necessary information to help the visitor make the right decision. So, any place where you need to provide additional information, but lack the room to do so, is the spot to use a class like this.

Alert! Where to Next?

The InfoBox class grew from the WordBubble class, so there is no reason to think that other classes can't be sprouted from this one. Do you miss the Alert component which used to be in Flash, but was kidnapped by Flex? If so, you have all the necessary pieces in the InfoBox class to put together your own AlertBox. Give it a try and see what happens!

One Last Story

The project I am currently working on involves displaying lists of music, and, as there will be something like 4000 mp3s to choose from, I need to use some pagination.  While digging up some pagination code I'd written for past projects, I heard a voice in the background saying, "If you find yourself copying and pasting the same code into different projects over and over, it's time to make it a class". Sounds like the topic for my next tutorial.

As always, if you have any questions, don't be shy. Contact information can be found in my profile.