This should be simple but for a newbie:sigh: … Lets say there are 4 mc’s in an array which can be dragged so far ao good , how do I get it to go back(reset) to the original positions(x and y co-ordinates) pressing a button?
Looks something like this so far…
var clips:Array = new Array(tree1, tree2, tree3, tree4);
for (var i = 0; i<clips.length; i++) {
clips*.onPress = function() {
this.startDrag();
};
clips*.onRelease = function() {
this.stopDrag();
};
}
reset.onPress= function(){
???
};