Hi Benoit,

You're going to want to use an itemRenderer for the checkBox's.  Tracey
Spratt has an example here:

http://www.cflex.net/showFileDetails.cfm?ObjectID=559
<http://www.cflex.net/showFileDetails.cfm?ObjectID=559>

-TH

--- In [email protected], Benoit Villière <benv...@...>
wrote:
>
> Hello everyone,
>
> I am making a first AIR application which is a simple task manager.
It's
> been built with AS, and uses SQLite to handle data. I would like to
display
> the tasks in a simple list of checkboxes, but my MXML knowledge is
very low
> and I ended up with this :
>
> <mx:List dataProvider="{taskCollection}">
> <mx:CheckBox
> label="{data.task}"
> selected="{data.id}"/>
> </mx:List>
>
> I would love being able to do it this way and get it working properly
:
>
> <mx:CheckBox
> dataProvider="{taskCollection}"
> label="{data.task}" selected="{data.id}"/>
>
> I feel like I don't get the MXML way to do things... That's why I ask
you
> Gurus some precious help :)
>
> Regards,
> Benoit V.
>


Reply via email to