2 Replies Latest reply on Apr 2, 2008 10:07 AM by Doc816

    dataChange event not triggering in itemRenderer

    Doc816 Level 1
      Hi,

      I have a tileList on the stage, which is dataBound to an XMLList object, the items of which are programatically updated with the results from an httpService.

      The tileList uses a custom itemRenderer. Inside the itemRenderer, I want to be able to change the color of the background based on the data. For example, when data.@arrow = 1, I want the background to be green, and when data.@arrow = 0, red etc.

      I am trying to call this function on dataChange event of one of the containers inside the itemRenderer. however it doesnt seem to be firing when the data updates

      Please advise as to what I am doing wrong?