Tree CellRenderer

Hii All

Do any one have any idea about showing checkbox in a tree component using the cellrenderer. I tried that and i am able to show the checkboxes but i am not able to go beyond that.

What i want to do is this is AS2

http://www.sephiroth.it/test/flex/3/treecheckbox/index.html

Anyone please help.

Thanks