‘drag&drop’

Tips & Tricks 10: Using Drag & Drop in Actionscript 3.0

Tips & Tricks 10: Using Drag & Drop in Actionscript 3.0

A really simple and useful tip. The drag and drop functionality in Actionscript 3.0. You can use it to drag pictures from one spot to other, to put items in a shoping cart, to arrange objects in a specific order etc. I’ll show you how to match 3 different shapes in their corresponding spots. Here is the final movie: How is done: 1. Create the 3 small shapes and put them individually in a Movie Clip. Also give each of them an instance name (I call them item1, item2, item3). 2. Now for the large [...]

Read More →