Drag and lock

Hello there,

I’m trying to figure out how to drag and lock an item to a movie clip. I have 4 different items that are going to be draggable to a movie clip area called “basket_mc”. Once they hit the movie clip area, these 4 items will be lock to that. I was able to drag them to the area, but I also want them to lock as well. any ideas please?


stop();

tv_mc.onPress = function () {
    startDrag ("tv_mc");
}
tv_mc.onRelease = function () {
    stopDrag ();
    if (tv_mc._droptarget == "/tv_mc") {
        basket_mc.gotoandStop("tv_mc");
    }
}

mobile_mc.onPress = function () {
    startDrag ("mobile_mc");
}
mobile_mc.onRelease = function () {
    stopDrag ();
    if (mobile_mc._droptarget == "/mobile_mc") {
        basket_mc.gotoandStop("mobile_mc");
    }
}

mouse_mc.onPress = function () {
    startDrag ("mouse_mc");
}
mouse_mc.onRelease = function () {
    stopDrag ();
    if (mouse_mc._droptarget == "/mouse_mc") {
        basket_mc.gotoandStop("mouse_mc");
    }
}

phone_mc.onPress = function () {
    startDrag ("phone_mc");
}
phone_mc.onRelease = function () {
    stopDrag ();
    if (phone_mc._droptarget == "/phone_mc") {
        basket_mc.gotoandStop("phone_mc");
    }
}