This content has been marked as final. Show 4 replies
I presume you're talking about the Flash Component as opposed to the
TreeView xtra. If so, you can't - AFAIK.
The icon is set in Flash using a movieClip from the movie's Library. The movieClip to be used must be set to export for Actionscript. The icon is then specified in an addItem() function or addItemAt() function or setPropertiesAt() function. You can use these functions from the Director movie, but the actual movieClip that you specify must be in the Flash movie. There is no way, that I know of, to import an image to be used as an icon at runtime.
Thank you sir for the reply,
I am using Tree, available in the library of director 10.
help available regarding its nodes and their trigging but there is no help regarding changing icon, do you have any solution of it?
That's a Flash component that you can apply directly to the Director movie. It has the same shortcoming as I mentioned above, the icon bitmaps have to be inside the component or the Flash movie that contains it.