RE: [flexcoders] Re: TileList changing items displayed after scrolling

2008-09-19 Thread Gregor Kiddie
You heard it here first folks! UIComponent makes you fat!

 

Gk.

Gregor Kiddie
Senior Developer
INPS

Tel:   01382 564343

Registered address: The Bread Factory, 1a Broughton Street, London SW8
3QJ

Registered Number: 1788577

Registered in the UK

Visit our Internet Web site at www.inps.co.uk
blocked::http://www.inps.co.uk/ 

The information in this internet email is confidential and is intended
solely for the addressee. Access, copying or re-use of information in it
by anyone else is not authorised. Any views or opinions presented are
solely those of the author and do not necessarily represent those of
INPS or any of its affiliates. If you are not the intended recipient
please contact [EMAIL PROTECTED]



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sherif Abdou
Sent: 19 September 2008 02:54
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: TileList changing items displayed after
scrolling

 

Explain more, Why not just use UIComponent? Does it add weight or what?

--
Sherif Abdou
http://VadexFX.com http://VadexFX.com 
http://Sherifabdou.com http://Sherifabdou.com 



RE: [flexcoders] Re: TileList changing items displayed after scrolling

2008-09-18 Thread Tracy Spratt
...extending UIComponent.. Wooo hoo, you are playing with the big boys
now!

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Kyle
Sent: Thursday, September 18, 2008 3:49 PM
To: flexcoders@yahoogroups.com
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.ht
ml
http://weblogs.macromedia.com/pent/archives/2008/03/itemrenderers_p_1.h
tml 

 



Re: [flexcoders] Re: TileList changing items displayed after scrolling

2008-09-18 Thread Doug McCune
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:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Kyle
 *Sent:* Thursday, September 18, 2008 3:49 PM
 *To:* flexcoders@yahoogroups.com
 *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

  



RE: [flexcoders] Re: TileList changing items displayed after scrolling

2008-09-18 Thread Tracy Spratt
Sprite? That's one of those Flash thingeys right?  I gotta look into
the second option though.

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Doug McCune
Sent: Thursday, September 18, 2008 6:04 PM
To: flexcoders@yahoogroups.com
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]
mailto:[EMAIL PROTECTED]  wrote:

...extending UIComponent.. Wooo hoo, you are playing with the big boys
now!

Tracy

 



From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com ]
On Behalf Of Kyle
Sent: Thursday, September 18, 2008 3:49 PM
To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com 
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.ht
ml
http://weblogs.macromedia.com/pent/archives/2008/03/itemrenderers_p_1.h
tml 

 

 



Re: [flexcoders] Re: TileList changing items displayed after scrolling

2008-09-18 Thread Sherif Abdou
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: flexcoders@yahoogroups.com 
  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: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kyle
Sent: Thursday, September 18, 2008 3:49 PM
To: flexcoders@yahoogroups.com
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