Пытаюсь добавить в элементу списка кнопку
Для этого унаследовал класс CellRenderer, добавляю кнопку, она появляется, но на нажатия не реагирует. Как сделать её рабочей?

Код:
public class CustomCellRenderer extends CellRenderer
{
private var selectBtn:Button;
public function CustomCellRenderer()
{
super();
this.addEventListener(Event.RENDER , itemChanged);
selectBtn = new Button();
selectBtn.label = "test";
selectBtn.width = 130;
selectBtn.name = "selectBtn";
selectBtn.addEventListener(MouseEvent.CLICK, this.removeClick);
this.addChild(selectBtn);
selectBtn.drawNow();
trace("INIT width: "+this.width+" height"+this.height);
}
override public function drawNow():void
{
super.drawNow();
trace("draw");
textField.y=0;
textField.x=0;
selectBtn.x = this.width-selectBtn.width-10;
selectBtn.y = this.height/2-selectBtn.height/2;
trace("width: "+this.width+" height"+this.height);
}
protected function itemChanged(e:Event)
{
trace("changed");
drawNow();
}
private function removeClick(ev:MouseEvent)
{
trace("remove clicked");
}
}
}
Может нужно смотреть в сторону интерфейса ICellRenderer? Но тогда придется самому рисовать все скины, а это грустно
