This week I ran across a really cool demo application using images within Flex.
Russel Brown’s SmartImage component will take an image, add a rounded border and colorize that border based on the average colors within the image.
Here is a live sample (View Source is Enabled):
Here is a simple use example.
<graphics:RoundedImage width="200" height="150" borderStyle="dynamic" borderWidth="6" cornerRadius="11" source="@Embed('Winter.jpg')" />
For full source click here .
From: http://blog.everythingflex.com/2009/04/24/rounded-colorized-image-borders/