
05.07.2005, 22:12
|
|
Регистрация: Dec 2002
Адрес: Сочи
Сообщений: 2,819
|
mc1.onPress = function() {
this.startDrag();
if (this.getDepth()<this._parent.mc2.getDepth()) {
this.swapDepths(this._parent.mc2);
}
};
mc2.onPress = function() {
this.startDrag();
if (this.getDepth()<this._parent.mc1.getDepth()) {
this.swapDepths(this._parent.mc1);
}
};
mc1.onRelease =mc2.onRelease =function () {
this.stopDrag();
};
|