As Barney says, the color array is in my base application component. I
use it in other controls. With my other controls it is easy enough to
pass into the component. But I do not know how to accomplish this some
thing with a custom renderer.
<mx:Application
....
[Bindable]
public var colorsAry:ArrayCollection = new
ArrayCollection([0x00FF00,0xAAFF00,0xFFFF00,0xFF6600,0xFF0000]);
....
<views:logDetails x="0" y="0" id="details"
colorsAry="{colorsAry}"
Ian
Douglas Knudsen wrote:
> where does this array of colors live, eh? Sounds to me it would be a fixed
> array that could live in the renderer. Then just over ride the data setter
> in your renderer setting the background color there via setStyle().
>
> Petter Ent at
> http://weblogs.macromedia.com/pent/archives/2007/02/index.cfm<http://weblogs.macromedia.com/pent/archives/2007/02/index.cfm>
> has a example that's a little different. Someone from Adobe mentioned on
> flexcoders extending Label in this way is a bit lighter too, so should
> perform better.
>
>
> DK
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ
Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:4364
Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37