Hey there everybody, I need some help with a drag and drop game I am making. I have the code so that when it is dragged and let go it snaps back to its original position, I have a target as well and when it hits the target it sticks. Now I want it so that once it hits the target, it takes you to a new scene. If anyone can help me it would be greatly appreciated.
don't use scenes for navigation with as2. label your frames and use frame labels in your navigation.
// attached to your main timeline
var tl:MovieClip = this;
in the conditional branch that executes when the drop target is correct:
tl.gotoAndStop("your frame label");