If you want to use another icon from the library you can use the
Tree.iconFunction or the Tree.iconField property.
http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/js/html/wwhelp.htm?href=Part6_Component_Reference.html
If you want to load in an external image say from a URL then you would
need to create a custom cellrenderer like this one
http://www.drumbeatinsight.com/examples/dndTree/dynamicimages/dndTreeDynamicImages.html
This was a bit tricky because the icon is not part of the cell in the
Tree component.
Best,
Judah
Santhakumar K wrote:
Flashcoders,
Is it possible to add two icons in the Tree components. In the
component
reference library it is mentioned that we can able to modify icon in the
existing icon field.
Thanks,
santhakumar
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
--
"Always bear in mind that your own resolution to succeed is more important than any
one thing."
"You can have anything you want - if you want it badly enough. You can be anything you want to be, do anything you set out to accomplish if you hold to that desire with singleness of purpose."
- Abraham Lincoln
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com