Create a drag and drop button:
1. Open a New movie (File>New).
2. Add 3 layers to your main timeline and name it (Actionscript, Drag,
Target).
3. Select the Target layer and using the oval tool creates a big red
circle.
4. Then convert the big red circle to a Movieclip symbol and name the
symbol "MC Target".
5. With the MC Target instance selected on the stage, assign an instance
name called "target" from the instance panel.
6. Select the Drag layer, then using the oval tool create a blue circle.
7. Then convert the blue cirlce to a Movieclip symbol and the name the
symbold "MC Drag".
8. With the MC Drag instance selected on the stage, assign an instance
name called "drag" from the instance panel.
9. Now double click on the Movieclip instance to enter the symbol-editing
mode.
10. Select the blue circle again and then convert the circle to a button
symbol.
11. Now with the button selected, go to your actionscript panel and switch
to expert mode.
12. Then copy and paste the following actionscript below.

on (press) {
    startDrag ("_root.drag", true);
}
on (release) {
    stopDrag ();
}
on (release) {
    if (eval(_root.drag._droptarget) == _root.target) {
        tellTarget ("_level0/") {
            gotoAndStop ("Scene 2", "myscene2");
        }
    } else {
        drag._x = x_pos;
        drag._y = y_pos;
    }
}

13. Now click back to Scene1 and then select the Actionscript Layer.
14. Select the first key frame and add a stop action.
15. Open your Scene panel and add another Scene named "Scene 2".
16. Select Scene 2 on the Scene panel and then select the first keyframe.
17. Assign a frame label called "myscene2".
18. With the first keyframe still selected, add a stop action and some
static text that will tell you that you are on scene 2.
19. Now save and test your Flash movie.
