0 Replies Latest reply on Apr 19, 2010 3:07 AM by new_be

    How to handle control events within TileList control?

    new_be Level 1

      Hi,

       

      In the below mxml, each item in the TileList contains a Checkbox and Textinput. I want to change the TextInput control's editable property to true when the checkbox is selected. I tried click="someFunction()" but it gives an error function not available.

       

      <mx:TileList dragEnabled="true" dragMoveEnabled="true" dropEnabled="true" allowMultipleSelection="true" dataProvider="{myDataList}">
          <mx:itemRenderer>
              <mx:Component>
                  <mx:Canvas width="100" height="100">
                      <mx:TextInput id="name" color="black" fontWeight="normal" alpha="0" />
                      <mx:CheckBox  id="renameButton" label="Rename" />
                  </mx:Canvas>
              </mx:Component>
          </mx:itemRenderer>
      </mx:TileList>

       

      Thanks,

      VSP