I'm not saying it does, but you should investigate. Certianly, if the icon is changed that could cause invalidation and the second time, you might be setting the same icon so there is no invalidation
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Rafael Faria Sent: Wednesday, February 06, 2008 3:23 PM To: [email protected] Subject: [flexcoders] Re: Still Tree Hi Alex, thanks for your reply. I just dont get it why this function would invalidate the renderer once it works fine after i open it once. menuTree(owner).setItemIcon(_oTreeListData, getStyle("defaultModuleIcon"), getStyle("defaultModuleIcon")); --- In [email protected] <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > 1. setStyle("indentation", ...) > > 2. itemRenderer = new ClassFactory(myTreeRenderer) > > 3. If your renderer invalidates the tree it will cancel the tween > > 4. Make sure you're using the right methods at the right time > (commitProperties, measure, updateDisplayList) > > > > ________________________________ > > From: [email protected] <mailto:flexcoders%40yahoogroups.com> [mailto:[email protected] <mailto:flexcoders%40yahoogroups.com> ] On > Behalf Of Rafael Faria > Sent: Tuesday, February 05, 2008 5:05 PM > To: [email protected] <mailto:flexcoders%40yahoogroups.com> > Subject: [flexcoders] Re: Still Tree > > > > For some reason whenever i use setItemIcon on a function set for a > iconFunction its behavior is very weird. > > --- In [email protected] <mailto:flexcoders%40yahoogroups.com> <mailto:flexcoders%40yahoogroups.com> > , "Rafael Faria" > <rafaelfaria.grupos@> wrote: > > > > I think is better to post most of my questions and if anyone can help > > just reply with an answer :) > > > > I'm still struggling myself with packages so if someone has a good > > article about it or where i can find a good material about packages it > > would be very helpful as well. > > > > > > 1 - There is anyway to set the indentation of each element? how? > > > > 2 - itemRenderer = myTreeRender i get an error... how can i make a > > reference inside my TreeCustom class? if i put <custom:MenuTree > > itemRenderer="com.myTreeRendeder" /> it works just fine. But i want to > > be able to set it inside the package as a default. > > > > 3 - For some reason, when i first open a branch it doesnt play that > > easing animation, but after it open it works just fine... someone > > knows why it happens? > > > > 4 - I set a mouseevent.double_click and whenever i double click on a > > branch and it opens the leaf icons doesnt apear until i click in > > something else. someone knows why it happens too? > > > > Well.. i will be here googling trying to find the answers but if > > someone knows how to help me it would be great :P > > > > thanks > > >

