Hello Rajan,

Change the Combobox to DropDownList of spark, and you will start rocking
again :)

Use the following --

<s:DropDownList alternatingItemColors="[#FFFFFF,#EEEEEE]">
<s:ArrayCollection>
<fx:String>One</fx:String>
<fx:String>Two</fx:String>
<fx:String>Three</fx:String>
<fx:String>Four</fx:String>
<fx:String>Five</fx:String>
</s:ArrayCollection>
</s:DropDownList>

Enjoy....

On Sat, Apr 9, 2011 at 8:02 PM, Rajan Jain <[email protected]> wrote:

> Hi
>
> I am using the spark components and the halo theme.
>
> When i write the following code
>
> <s:ComboBox alternatingItemColors="[#FFFFFF,#EEEEEE]">
> <s:ArrayCollection>
> <fx:String>One</fx:String>
> <fx:String>Two</fx:String>
> <fx:String>Three</fx:String>
> <fx:String>Four</fx:String>
> <fx:String>Five</fx:String>
> </s:ArrayCollection>
> </s:ComboBox>
>
> I get the error - alternatingItemColors is only supported for spark theme.
>
> How do i set the alternatingItemColors for halo theme???
>
> Thanks
> ilikeflex
>
> --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>



-- 
Vikas

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to