Drag and drop problems

ok…

Have got the basics to drag and drop pretty down thanks to the tutorial on this site. Here’s what I have so far:

on (press) {
startDrag("_root.link1");
}
on (release) {
stopDrag();
if (_root.link1._droptarget == “/player”) {
_root.player.gotoandStop(“brown”);
}
}

However, when I place “link1” on the target, “player”, the “player” mc goes to the correct frame (instance name “brown” in this case) but "link1) still remains. Is there any way I can get “link1” to disappear when I drop it on the target?

Need help!!

thanks!!!

When you say disappear do you mean so that if they click on the player it will not register and start dragging your link1?

If so, you could set the _x and _y properties of link1 so that they are not in the visible area anymore.

If not you could try setting the _visibility of link1 to false.

Hope one of these helps

Liz

I’m not really understanding (still a new, new, newbie) and could use some more help. When I drop link1, I don’t know how to set it to be not visible when it’s dropped in “player”. ?hat line should I put the code in? What should it read like?

thanks for the reply!