0 Replies Latest reply on Sep 3, 2007 10:18 AM by William0275

    AS3 and CellRenderer

    William0275
      Hello,

      I hope someone has good experience with CellRenderer. I got a List component and want to handle the display of the label, plus icons etc. So I created a class extending CellRenderer. But I can't get rid of the default dynamic TextField displayin the label text. I'd like to display it my own way in my own location so I created my own TextField but the default one wll always appear.

      I overrode "set data" and assign "" to the label, but it will work only when you click on an item, the first time, both labels will show, the default one and mine. I don't know where I can set this TextField to invisible or clear the text.

      I know I could derive my cellRendered from Sprite or something else, but then all of the List skins are lost and I would like to have them.

      Any idea?