Displaying an Image in a ComboBox

December 1st, 2008 by Greg Jastrab

I needed to display an Image inside of a ComboBox for a recent project. The image of a selectedItem needed to appear in the ComboBox when it is collapsed and the image needed to be specified as a String.

I was surprised that a quick search didn’t find any components to allow this. The closest was a post by Jason Hawryluk, however this required the image to be embedded into the application.

So I simply extended ComboBox to include an Image within it, and added some sizing calculations so it would respect padding. An example follows below:
Read the rest of this entry »

Presenting an Intro to Flex at Refresh Baltimore Tonight

November 12th, 2008 by Greg Jastrab

Flex 3: Styling Individual Tabs in a TabBar

November 10th, 2008 by Glenn Gentzke

Making WillPaginate and Rails to_xml play nice with ActiveResource

October 10th, 2008 by Scott Davis

Migrating Serialization Changes Within an AIR Application

September 11th, 2008 by Greg Jastrab

Serialization Error/Bug When Using a ByteArray and readObject in an IExternalizable Class?

August 27th, 2008 by Greg Jastrab

Losing Data When Drag and Dropping Custom Classes in Flex?

July 11th, 2008 by Greg Jastrab

Automating Flex Compilation Using ANT

June 15th, 2008 by Greg Jastrab

Flash Player 10 (”Astro”) Prerelease and Flex SDK Build Available to Compile Flash Player 10 Content

May 16th, 2008 by Greg Jastrab

Flex 4 “Gumbo” Planning Documents

May 6th, 2008 by Greg Jastrab
  • You are currently browsing the archives for the Flex category.