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], Sherif Abdou <[EMAIL PROTECTED]> wrote: > > so are you extending the tree? if so you can just do itemRenderer=.... > > > ----- Original Message ---- > From: Rafael Faria <[EMAIL PROTECTED]> > To: [email protected] > 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 >

