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/
本文介绍了一个使用Flex构建的酷炫演示应用,该应用通过Russel Brown的SmartImage组件实现。此组件可以为图片添加带有圆角的边框,并根据图片内的平均颜色为边框上色。

被折叠的 条评论
为什么被折叠?



