Explain more, Why not just use UIComponent? Does it add weight or what?
------
Sherif Abdou
http://VadexFX.com
http://Sherifabdou.com
----- Original Message -----
From: Doug McCune
To: [email protected]
Sent: Thursday, September 18, 2008 5:03 PM
Subject: Re: [flexcoders] Re: TileList changing items displayed after
scrolling
You guys still use UIComponent? Man, real men go straight for Sprite. Or
sometimes I just use Object and project the display list straight into the
user's brain.
On Thu, Sep 18, 2008 at 2:53 PM, Tracy Spratt <[EMAIL PROTECTED]> wrote:
"…extending UIComponent.." Wooo hoo, you are playing with the big boys now!
Tracy
----------------------------------------------------------------------------
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Kyle
Sent: Thursday, September 18, 2008 3:49 PM
To: [email protected]
Subject: [flexcoders] Re: TileList changing items displayed after scrolling
Thanks for the url's! I think that I had a number of issues with my
renderer. One thing was that I was not setting the data property as
[Bindable] so I don't believe that it was properly being set and/or
dispatching the dataChange event. Secondly, (as you mentioned) there
may have been a recycling issue. What I ended up doing was scrapping
the idea of extending my item renderer off of some pre-existing class
(such as Image or HBox) and extending UIComponent, then overriding all
the methods to take full control over my renderer. This seemed to
really do that trick!
I also found a series written by Peter Ent to be extremely helpful:
http://weblogs.macromedia.com/pent/archives/2008/03/itemrenderers_p_1.html