I think you need to do
value[i].headerRenderer = new ClassFactory(HeadRendererAddRemove);
- Gordon
From: [email protected] [mailto:[email protected]] On Behalf Of Bruno Martins
Sent: Wednesday, April 05, 2006 10:53 AM
To: [email protected]
Subject: Re: [flexcoders] Flex 2 Beta 2 - dynamic headerRenderer / IFactory error
Hi Jeremy,
The error was fixed but the headerRenderer won't be displayed.
Tks...
On 4/5/06, jeremy lu < [EMAIL PROTECTED]> wrote:
hi Bruno,
try this see if it works :-)On 4/6/06, Bruno Martins < [EMAIL PROTECTED]> wrote:
How I can fix this:
public override function set columns(value:Array):void {
for(var i:Number = 0; i<value.length; i++ ){value[i].headerRenderer = HeadRendererAddRemove as IFactory;
}
}
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
YAHOO! GROUPS LINKS
- Visit your group "flexcoders " on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
--
Bruno Gustavo Martins
Mobile: (55)(11)9585-9587
[EMAIL PROTECTED]
experience everywhere
http://www.dclick.com.br/blog
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
--
Bruno Gustavo Martins
Mobile: (55)(11)9585-9587
[EMAIL PROTECTED]
experience everywhere
http://www.dclick.com.br/blog
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

