dndList
The dndList component is a feature rich List component for Macromedia Flash MX 2004 Professional and Flash 8. It is extended from the Macromedia List component and inherits all it's feature and api.
This documentation addresses the additional features of the dndList component. It does not address the properties and methods of the classes it inherits through the List component. These are the MovieClip, UIObject class, UIComponent class, View, ScrollView, ScrollSelectList, SelectableRow and List classes. You must read through and understand these classes to have a very pleasent experience developing with the dndList as well as all of the Macromedia UI components.
Other classes that you must read with this component are the dataProvider class, ListDataProvider class, CellRenderer API, Delegate class, XMLObject class and the ContextMenu class. All are used in some way or another with the dndList.
Documentation for these classes are included within the Macromedia Flash MX 2004 Professional or Flash 8 Help Panel. Documentation can also be found online at http://livedocs.macromedia.com/flash/mx2004/index.html. The class code can be examined in the $flash/Configuration/Classes/mx directory.
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 list to list
- drag & drop onto a movieclip
- drag & drop from a movieclip to a list
- dynamic runtime tree creation
- custom row icons
- custom row labels
- using external images
- restricting/permitting/denying/allowing/disallowing drag & drop to and from certain items
- custom menu items and menus
- setting custom styles
- open in window component