When a drag and drop movie clip is dropped, the _droptarget property records the name and path of the movie clip it was over. We have set this property for the ball to the variable /:DropName, and will store it on the main timeline. The slash (/) before the colon is the path to the variable. The slash represents the root or main timeline. Another thing to notice is that since the button is inside of its movie clip (TBall), there is no need to provide the name and path of the movie clip. The movie clip is represented by the two double quotes.Set Variable: "/:DropName" = GetProperty ("", _droptarget )
After the drop, we have set the variable DropName to the _droptarget property, which we then compare to full path of our target zone movie clip which sits above the trash can. The _droptarget path is a full path and always starts from the main timeline (it is not relative). In the original movie on level zero the path starts with a slash /. In all other movie levels it starts with _levelx/.
If (/:DropName eq "/DropZoneC") Begin Tell Target ("/") Go to and Play (4) End Tell Target End If