Welcome to GraphicForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Using custom icons (all different) in tree component

 
   Graphic Forums (Home) -> General Discussions RSS
Next:  Variables in a text file  
Author Message
durgesh_vaishnav

External


Since: Nov 19, 2004
Posts: 2



(Msg. 1) Posted: Wed Nov 24, 2004 6:50 am
Post subject: Using custom icons (all different) in tree component
Archived from groups: macromedia>flash (more info?)

hi all,

I am working with tree components in MX-2004. I want to have different icons
in the leaves. I wonder whether it is possible or not? For example : I'm making
a family tree - I want to denote a male with a different icon and a female with
a different icon (only in the leaf node). If someone knows, please help me.

Thanks
Durgesh

 >> Stay informed about: Using custom icons (all different) in tree component 
Back to top
Login to vote
boombuckets

External


Since: Nov 26, 2004
Posts: 1



(Msg. 2) Posted: Fri Nov 26, 2004 5:45 pm
Post subject: Re: Using custom icons (all different) in tree [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I believe you should be able to do this using the Tree function :
tree_instance.setIcon(node, iconID) ..where iconID equates to it's linkage ID
I'm guessing what you could do is that when you create the node for the
person, based on their gender, use the above method call to attach the
corresponding icon.Text

 >> Stay informed about: Using custom icons (all different) in tree component 
Back to top
Login to vote
durgesh_vaishnav

External


Since: Nov 19, 2004
Posts: 2



(Msg. 3) Posted: Sat Nov 27, 2004 8:07 am
Post subject: Re: Using custom icons (all different) in tree [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

thanks for reply..
I got solution. actually I am using xml for tree.
In xml, now I am adding icon field for a specific node.
can you please help me more abt tree ..
I have more question abt it.
send reply with your Mail ID.
bye.
 >> Stay informed about: Using custom icons (all different) in tree component 
Back to top
Login to vote
megear

External


Since: Feb 16, 2006
Posts: 1



(Msg. 4) Posted: Thu Feb 16, 2006 7:13 pm
Post subject: Re: Using custom icons (all different) in tree [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Can you please explain how you did it? It seems to be a frequently asked question.

Thnak you
 >> Stay informed about: Using custom icons (all different) in tree component 
Back to top
Login to vote
Display posts from previous:   
   Graphic Forums (Home) -> General Discussions All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]