[as3] list cellRenderer
- by lemon
I'm quite new with as3 via cs4 so please bear with me.
I'm trying to make a phone book type list that displays the users name, cellnumber and possible a delete button.
---
Bob
09XXXXXXXXX delete
---
Sussie
09XXXXXXXXX delete
---
Johnny
09XXXXXXXXX delete
---
I've tried making a list and added to it a XML dataprovider
<profiles>
<profile>
<label>Bob</label>
...
</profile>
It'll then display a list of names
Bob
Sussie
Johnny
But what do I have to do in order to get it print like fig 1? I know that it has something to do with CellRender but I can't seem to find any decent examples in Google.