espero que me puedan ayudar dejo los codigos que utilice
en mi frame 3esta esto
stop();
var score=Number;
score=0;
timer = 30;
countdown = function(){
timer--;
if(timer==0){
clearInterval(countdownInterval);
intentalo2._visible = true;
}
}
countdownInterval = setInterval(countdown,1000);
en cada pieza de mi rompecabezas esta esto cada uno con diferentes nombres de instancia
onClipEvent (load) {
x = this._x;
y = this._y;
}
on (press) {
trace(_name);
this.startDrag(true);
this._x = this._xmouse;
this._y = this._ymouse;
drag = true;
}
on (release) {
this.stopDrag();
drag = false;
}
on(release){
if (drag == false) {
if (this.hitTest(_root.mc5Big)) {
this._x = _root.mc5Big._x;
this._y = _root.mc5Big._y;
_root.clic.gotoAndPlay(2);
_root.score +=1;
enabled=false;
}
} else {
this._x = x;
this._y = y;
}
}
agredecere cual quier ayuda que sea brindada

