dndTree
The dndTree component is a feature rich Tree component for Macromedia Flash MX 2004 Professional and Flash 8. It is extended from the Macromedia Tree component and inherits all it's feature and api.
This documentation addresses the additional features of the dndTree component. It does not address the properties and methods of the classes it inherits through the MovieClip, UIObject class, UIComponent class, View, ScrollView, ScrollSelectList, List component and Tree classes. You must read through and understand these classes to have a very pleasent experience developing with the dndTree as well as all of the Macromedia UI components.
Other classes that you must read with this component are the dataProvider class, TreeDataProvider class, CellRenderer API, Delegate class, XMLObject class and the ContextMenu class. All are used in some way or another with the dndTree.
Documentation for these classes are included within the Macromedia Flash Professional Help Panel. Documentation can also be found online at http://livedocs.macromedia.com/flash/mx2004/index.html.
To begin, read the Getting Started page . After that review the numerous examples that have been included (see below). And please, ask for help if you need it. The forums are moderated by staff and each new post automatically notifies one of the developers.
Examples
- populating with data
- setup a cellrenderer
- drag from tree to tree
- drag & drop onto a movieclip
- drag & drop from a movieclip to a tree
- dynamic runtime tree creation
- custom row icons
- custom row labels
- using external images
- restricting/permitting/denying/allowing/disallowing drag & drop to and from certain nodes
- custom menu items
- setting custom styles