Dragging a Group of movie clips
Wednesday, December 15th, 2010When designing interfaces it is occassionally necessary to allow multiple selection and dragging. This SWiSH Max4 example could be used as the basis for such as design. The example demonstrates the use of the Mouse Listener and Keyboard Listener as well as the dynamic application of filters. The ClipClone component was used to create the multiple objects for dragging.
The example movie below demonstrates the final result. Multiple items can be selected by pressing Ctrl and mouse Left Click. Using Left Click outside of any object allows a selection rectangle to be drawn. On release, all items within the selection rectangle are selected. Clicking on one of the selected items initiates the drag sequence. On completion of the drag sequence, all items are de-selected.
An items selection status is indicated by a drop shadow.


