Just setup your items for Accordion dataProvider to have .label property and .icon property having desired values.
Thanks for ur response.In my application i need to place two labels and two images in accordion header.Please suggest me the solution.
Two labels could be joined into one having delimiter \n or somthing else, two icons could be joined too into one Image and used utilizing standard Accordion functionality, otherwise you should tweak/extend Accordion to make this happen
If you feel this message answers your question or helps, please mark it respectively
Thanks for your reponse.In my application one label and one image on right side and another two on left side.
Hi Mr Singh,
I already reviewed that link but that code will work fine for flex2 only.Please let me know if there is any solution....
Pls use the same swc which you are having from the link earlier which is having the CanvasButton.
After that create the application same as the code is below.It is in the Flex 3.0.I am using three images and 3 labels on the header of the accordion.
<mx:Accordion width="500" height="300"
<mx:Label text="Label 1"/>
<mx:Label text="Label 2"/>
<mx:Label text="Label 3"/>
<mx:VBox label=" Account Dept.">
<mx:Label text="Container 1" />
<mx:VBox label=" Admin Dept.">
<mx:Label text="Container 2" />
<mx:VBox label=" Sales Dept.">
<mx:Label text="Container 3" />
Shardul Singh Bartwal
Hi Mr Singh,
In my code i will get the image paths from xml.so i need to use repeater control.Here i am unable to place repeater in <code:CanvasButton> .Plz suggest the solution.