Follow Me On


Movie Clip Drag Tutotial AS3


Make a movie clip and give in an instance name “mc”.
click on the frame in the timeline and press F9.

and past the following code :

mc.addEventListener (MouseEvent.MOUSE_DOWN, start_drag);
function start_drag (e:Event){




this will allow to drag the movie clip, now we also need to give it an action as stop drag when mouse click in disable.

mc.addEventListener (MouseEvent.MOUSE_UP, stop_drag);
function stop_drag (e:Event){




Hope you got it. 🙂