Re: [flexcoders] Re: itemRenderer on TileList question

2008-03-31 Thread Douglas Knudsen
yeah, re-read those links Scott sent along. As it states in those links, itemRenderers are reused and thus only instantiated once. Hence creationComplete will only fire once. The data property on the other hand may fire numerous times. So, you will need to move your work in init() to set

[flexcoders] Re: itemRenderer on TileList question

2008-03-30 Thread Alexander Tsoukias
Thank you so much for this info, can you possibly give me a code example scenario? thanks alexander --- In flexcoders@yahoogroups.com, Scott Melby [EMAIL PROTECTED] wrote: Alexander - Flex recycles itemRenderers, so it does not create 1 per item in your data provider. Instead it creates

Re: [flexcoders] Re: itemRenderer on TileList question

2008-03-30 Thread Scott Melby
I suggest reading this post http://blogs.adobe.com/aharui/2007/03/thinking_about_item_renderers_1.html on Alex Harui's blog. He describes the use of item renderers very well. You can also find information on the working with item renderers page of the live docs

[flexcoders] Re: itemRenderer on TileList question

2008-03-30 Thread Alexander Tsoukias
My itemRenderer is in MXML, i added this in the script block: public override function set data(value:Object):void { super.data = value; } but still doesn't help - am i missing something? thanks --- In flexcoders@yahoogroups.com, Scott Melby [EMAIL PROTECTED] wrote: I