You should override the data setter and try to figure out from there what state the renderer should be in based on the incomming data. The renderers are created by the listbased control that parents them. Depending if you are using visualization or not the control will create renderes for each element or not.
C ________________________________ From: j2me_soul <j2me_s...@163.com> To: flexcoders <email@example.com> Sent: Monday, August 29, 2011 2:20 PM Subject: [flexcoders] ItemRenderer issue I use the spark list component.I want to set the itemrenderer to the default state when the new data is coming. I try to write the code in the createComplete handler but it only excute one time ! And I try to write the same code in the addedToStage and added event handlers but the result is same ~~ Which is event should I listen to init the itemrenderer ? Or how to recreate itemrenderer when new data is coming ?