I am trying to make a user be able to move images around, bring the clicked on one to the front, and on reset set them all back up, not sure what the heck is goin on, any help would be appreciated.
large1_mc.large1.loadMovie(“homepics/large1.jpg”);
med1_mc.med1.loadMovie(“homepics/med1.jpg”);
med2_mc.med2.loadMovie(“homepics/med2.jpg”);
med3_mc.med3.loadMovie(“homepics/med3.jpg”);
square1_mc.square1.loadMovie(“homepics/square1.jpg”);
port1_mc.port1.loadMovie(“homepics/port1.jpg”);
buttons.onRelease = function() {
large1_mc._x=873.5;
large1_mc._y=363.1;
large1_mc.swapDepths(6);
med1_mc._x=684.1;
med1_mc._y=136.4;
med1_mc.swapDepths(5);
med2_mc._x=628;
med2_mc._y=136;
med2_mc.swapDepths(4);
med3_mc._x=705;
med3_mc._y=130.6;
med3_mc.swapDepths(3);
square1_mc._x=577.4;
square1_mc._y=160.4;
square1_mc.swapDepths(2);
port1_mc._x=534;
port1_mc._y=184;
port1_mc.swapDepths(1);
}
/Controls Drag & depth function/
large1_mc.onPress = function() {
this.startDrag(false, 328.8, 253.9, 1039.5, 709.2);
this.swapDepths(this.getNextHighestDepth());
}
large1_mc.onRelease = large1_mc.onReleaseOutside = function() {
this.stopDrag();
buttons.gotoAndPlay(“dragout”);
}
med1_mc.onPress = function() {
this.startDrag(false, 70, -65, 855, 600);
this.swapDepths(this.getNextHighestDepth());
}
med1_mc.onRelease = med1_mc.onReleaseOutside = function() {
this.stopDrag();
}
med2_mc.onPress = function() {
this.startDrag(false, -9.9,-52.6,888,417);
this.swapDepths(this.getNextHighestDepth());
}
med2_mc.onRelease = med2_mc.onReleaseOutside = function() {
this.stopDrag();
}
med3_mc.onPress = function() {
this.startDrag(false, 89, -65.3, 900, 598);
this.swapDepths(this.getNextHighestDepth());
}
med3_mc.onRelease = med1_mc.onReleaseOutside = function() {
this.stopDrag();
}
square1_mc.onPress = function() {
this.startDrag(false, -25.6, -6.5, 879.4, 630.4);
this.swapDepths(this.getNextHighestDepth());
}
square1_mc.onRelease = square1_mc.onReleaseOutside = function() {
this.stopDrag();
}
port1_mc.onPress = function() {
this.startDrag(false, -24.9,33.9,924,626);
this.swapDepths(this.getNextHighestDepth());
}
port1_mc.onRelease = port1_mc.onReleaseOutside = function() {
this.stopDrag();
}
stop();