I get the error 1067: Implicit coercion of a value of type Class to an unrelated type mx.core:IFactory. menuTree.as line 36 1202257471190 38776
--- In [email protected], Sherif Abdou <[EMAIL PROTECTED]> wrote: > > just itemRenderer=TreeRender > > > ----- Original Message ---- > From: Rafael Faria <[EMAIL PROTECTED]> > To: [email protected] > Sent: Monday, February 4, 2008 11:21:00 PM > Subject: [flexcoders] Re: TreeItemRenderer > > > Yeah, i'm extending the Tree but if i do itemRenderer = "" what would > be the value? my TreeItemRenederer is another package called TreeRender > > so it doesnt work like (itemRenderer= "TreeRender" ) because > itemREnderer is not a String variable. > > --- In [EMAIL PROTECTED] ups.com, Sherif Abdou <sherif626@ ..> wrote: > > > > so are you extending the tree? if so you can just do itemRenderer= .... > > > > > > ----- Original Message ---- > > From: Rafael Faria <rafaelfaria. grupos@ .> > > To: [EMAIL PROTECTED] ups.com > > Sent: Monday, February 4, 2008 10:57:53 PM > > Subject: [flexcoders] TreeItemRenderer > > > > I'm building my first component using actionscript. > > > > I'm trying to set some default values or call automatically some > > functions whenever i instantiate the Tree. How i would set the > > itemRenderer inside my custom Tree component? > > > > I know if i set the <custom:MyTree itemRender=" myItemRender" /> it > > will call myItemRender class. But i want to call it FROM my package. > > > > How i would do that? any ideas? > > > > Thanks > > > > > > > > > > > > > ____________ _________ _________ _________ _________ _________ _ > > Never miss a thing. Make Yahoo your home page. > > http://www.yahoo. com/r/hs > > > > > > > > ____________________________________________________________________________________ > Looking for last minute shopping deals? > Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping >

