[flexcoders] Re: redundancy in custom ItemRenderer

2009-03-03 Thread flexrookie
> 2) I don't think you can make a variable bindable by putting [Bindable] > AFTER the variable (unless you were intending to make your button > variable bindable on dataChange). -- right, that was an error in my code. it should go before the getter, as in: = // Make the data property

[flexcoders] Re: redundancy in custom ItemRenderer

2009-03-02 Thread Amy
--- In flexcoders@yahoogroups.com, "flexrookie" wrote: > > not an answer to my question, but a follow up for new itemrenderer > coders. i just changed my implementation of the renderer from a canvas > to a UIComponent, following alex harui's performance recommendation. Some suggestions: 1) Use

[flexcoders] Re: redundancy in custom ItemRenderer

2009-03-02 Thread flexrookie
not an answer to my question, but a follow up for new itemrenderer coders. i just changed my implementation of the renderer from a canvas to a UIComponent, following alex harui's performance recommendation. here's the updated renderer code (big thanks to peter ent's renderer post at http://weblog

[flexcoders] Re: redundancy in custom ItemRenderer

2009-03-02 Thread flexrookie
thanks amy, i found that info confirmed by alex harui's famous itemrenderer post, under recycling, here: http://blogs.adobe.com/aharui/2007/03/thinking_about_item_renderers_1.html ~flexrookie --- In flexcoders@yahoogroups.com, "Amy" wrote: > > --- In flexcoders@yahoogroups.com, "flexrookie" wro

[flexcoders] Re: redundancy in custom ItemRenderer

2009-03-02 Thread flexrookie
ok, new code, this time with IDs on dataProvider items for tracking. yes, i know there's no direct renderer-to-provider relationship. i now realize that the extra renderer instance is created for measurment (according to alex harui). but i'm still looking for an explanation on the multiple set data

[flexcoders] Re: redundancy in custom ItemRenderer

2009-03-02 Thread flexrookie
> ~flashrookie -- er... flexrookie (flash masta!) ; )

[flexcoders] Re: redundancy in custom ItemRenderer

2009-03-01 Thread Amy
--- In flexcoders@yahoogroups.com, "flexrookie" wrote: > > another question about ItemRenderers, using my previous stock example. > > i have noticed that my custom item renderer seems to be performing > redundant executions. for a single dataProvider item, i see two > renderer instances created.