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:[EMAIL PROTECTED] On
Behalf Of Rafael Faria
Sent: Tuesday, February 05, 2008 5:05 PM
To: [email protected]
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>
, "Rafael Faria"
<[EMAIL PROTECTED]> 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
>

 

Reply via email to