Hi

Try the Below code you will get some clarity:

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009";
               xmlns:s="library://ns.adobe.com/flex/spark"
               xmlns:mx="library://ns.adobe.com/flex/halo">

    <s:DropDownList id="dropDownList"
                    alternatingItemColors="[#EEEEEE,#DFDFDF]"
                    requireSelection="true">
        <s:dataProvider>
            <s:ArrayList source="[1,2,3,4,5,6,7,8,9,10]" />
        </s:dataProvider>
    </s:DropDownList>
</s:Application>



On Wed, May 11, 2011 at 2:47 AM, ilikeflex <[email protected]> wrote:

> I am still getting the same error. I am using Flex 4.1, halo theme and
> spark(DropDownList).
>
> Any pointer
>
> On Apr 10, 12:06 am, Vikas Madan <[email protected]> wrote:
> > 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.
>
>

-- 
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