for (i=0; i<4; i++) { attachMovie("id"+i,"id"+i,this.getNextHighestDepth(),{_x:idX, _y:100}); idX += 100; id[i].onPress = function() { startDrag(this); this.swapDepths(1000); };
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre questionmonID.onRelease = monID.onReleaseOutside=function () { stopDrag(); if (this.hitTest(tab1)) { this._x = tab1._x; this._y = tab1._y; this.enabled = false; } };