[flexcoders] Re: flexlib | CanvasButtonAccordionHeader | Identify Child

2010-03-17 Thread ilikeflex
Hi valdhor

I do not know why it did not come to my mind. Thanks for simple and best 
solution.

ilikeflex

--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote:

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





[flexcoders] Re: flexlib | CanvasButtonAccordionHeader | Identify Child

2010-03-12 Thread valdhor
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
 




[flexcoders] Re: flexlib | CanvasButtonAccordionHeader | Identify Child

2010-03-11 Thread ilikeflex
I mean to say when you click on checkbox then How to identify which child of 
Accordion is clicked?


--- In flexcoders@yahoogroups.com, ilikeflex ilikef...@... wrote:

 Hi
 
 I am using the 
 http://flexlib.googlecode.com/svn/trunk/examples/CanvasButtonAccordionHeader/CanvasButtonAccordionHeader_Sample.swf
 
 How to identify which child of Accordion is clicked?
 
 Thanks
 ilikeflex