In HeaderRenderer.mxml change the Checkbox to:

<mx:CheckBox click="checkBoxHandler(event)"
mouseDown="event.stopImmediatePropagation()" />

then add a function to the Script block:

             private function checkBoxHandler(event:Event):void
             {
                 event.stopImmediatePropagation();
                 trace(_label);
             }




--- In flexcoders@yahoogroups.com, "ilikeflex" <ilikef...@...> wrote:
>
> I mean to say when you click on checkbox then How to identify which
child of Accordion is clicked?
>
>
> --- In flexcoders@yahoogroups.com, "ilikeflex" ilikeflex@ wrote:
> >
> > Hi
> >
> > I am using the
> >
http://flexlib.googlecode.com/svn/trunk/examples/CanvasButtonAccordionHe\
ader/CanvasButtonAccordionHeader_Sample.swf
> >
> > How to identify which child of Accordion is clicked?
> >
> > Thanks
> > ilikeflex
> >
>

Reply via email to