Combined Code
frame 1 {
cloth1.onPress = function () {
startDrag(this, false);
};
cloth1.onRelease = function () {
stopDrag();
};
cloth2.onPress = function () {
startDrag(this, false);
};
cloth2.onRelease = function () {
stopDrag();
};
cloth3.onPress = function () {
startDrag(this, false);
};
cloth3.onRelease = function () {
stopDrag();
};
cloth4.onPress = function () {
startDrag(this, false);
};
cloth4.onRelease = function () {
stopDrag();
};
var cloth1 = [cloth1, cloth2, cloth3, cloth4];
i = 0;
while (i < cloth1.length) {
cloth1[i].onPress = function () {
startDrag(this, false);
};
cloth1[i].onRelease = function () {
stopDrag();
};
++i;
}
}
movieClip 3 {
}
movieClip 5 {
}
movieClip 7 {
}
movieClip 9 {
}