# Drag and drop tutorial - a little bit extra!

**URL:** https://forum.kirupa.com/t/drag-and-drop-tutorial-a-little-bit-extra/42976
**Category:** flash
**Created:** [February 16, 2004, 10:51pm UTC](https://forum.kirupa.com/t/drag-and-drop-tutorial-a-little-bit-extra/42976 "2004-02-16T22:51:52Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![age6racer](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@age6racer](https://forum.kirupa.com/u/age6racer)
#### Post date: [February 16, 2004, 10:51pm UTC](https://forum.kirupa.com/t/drag-and-drop-tutorial-a-little-bit-extra/42976/1 "2004-02-16T22:51:52Z")

</div>

Hi, I’ve just done the drag and drop tutorial with the computer and the two paint brushes.

I’ve got the same thing working in my own movie.

When the movieclip is dragged I have set some script to make a movie play simultaniously like this:

yellow.onPress = function(yellow) {  
wiresfall.play(2);

That works fine.

However if I want the drag-able movieclip itself to play (on release) it wont work here’s the code that I’m using.

yellow.onReleaseOutside = function(yellow) {  
yellow.play(2);

Is this wrong? becuase it wont work! and I really want it to!!!

Any help would be much appreciated.

Thanks.
