PDA

View Full Version : Context Menu with the Tree Component


AlladinYYC
10-17-2005, 11:23 PM
Does anyone know how to add a context menu to individual Nodes in the tree? It seems to work for the whole tree but not for individual treenodes.

Thank you in advance.

A.

deadbeat
10-17-2005, 11:30 PM
Every instance of a MovieClip, Button and TextField on the main timeline can now have its very own context menu too. The reason I referred to "main timeline" in itialics is because it isn't possible to assign an instance of the ContextMenu class to any MovieClip, Button or TextField instance that does not [at least effectively] reside on the main timeline."

From:

http://www.actionscript.org/tutorials/intermediate/context_menu/index.shtml

K.