2 Replies Latest reply on Mar 8, 2011 6:42 AM by MuskeeterAkshay

    Difficulty in passing value of another component

    MuskeeterAkshay Level 1

      Hi ,

         I am currently using a V Box and inside that vbox is the checkbox and custom component. Here is the code snippet

       

      <mx:VBox width="100%" paddingLeft="5" paddingRight="5"  >

      <mx:Repeater width="100%" id="classesR" dataProvider="{path of data provider her}">

      <mx:CheckBox  id="clsVisible" width="15%" selected="true" click="checkbox1_clickHandler()" />

      <CustomComponent id="clsClr" width="50%" classLayer="{classesR.currentItem} "/>

      </mx:Repeater>

      </mx:VBox>

       

      My question is how to pass the current value of customcomponent (value of classLayer) in checkbox1_clickHandler() when I click the checkbox

       

      Thanks

      Akshay