Drag and Drop List by Darron Schall
Darron Schall completed this new component extending the Macromedia V2 List component. The example adds drag and drop capability to the lists via events.
The dragable list has a 'dragable' and 'dropable' properties. You can fire an event on the list and pass data to be added to the list box. This makes it easy to create a shopping cart or other list based view and populate them with drag and drop actions. If 'dropable' is set, when a drop event occurs and data is passed a record will be inserted into the lists dataProvider. If 'dragable' is enabled, the list can be a source of a dragging operation. In the above example the two lists are both set to 'dragable' = true and 'dropable' = true.
Nice example Darron.
This example is available with full source and documentation within Flash® by Example.
More to come.
Ted :)
0 Comments:
Post a Comment
<< Home