1 Reply Latest reply: Sep 9, 2013 3:18 PM by Flex harUI RSS

    "selected" attribute of Checkbox not working inside a Repeater


      hi guys,


      I'm trying to create some checkboxes, using Repeater and XML, but they all appear selected, no matter what I put in the XML attribute "selected".
      Here's the sample code:


      <mx:HBox x="72" y="70" width="200" height="200">

                               <mx:Repeater id="repeat_chk" dataProvider="{myXML}">

               <mx:CheckBox id="chks" x="136" y="93" label="{repeat_chk.currentItem.@name}" selected="{Boolean(repeat_chk.currentItem.@selected)}" />




      The labels are showing ok, but checkboxes are always selected.

      Anyone has run into this already?