Hie I am using an accordion with three vbox inside it. The problem is when i click on any of the accordion it does not invoke the click event.
My code is like: <mx:accordion id="myAcc"> <mx:VBox label="Today"> </mx:VBox> <mx:VBox label="Last 2 Days" click="headCountAccordion.selectedIndex=0;"> <mx:Button label="hi"/> </mx:VBox> <mx:VBox label="Last 1 Week"> </mx:VBox> </mx:Accordion> the click event does not work on the VBox with lable last 2 days. However, it works if i copy the click stuff to the button inside it. Any idea why? and how to fix Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com