wacko
05-26-2003, 12:20 PM
hello,
i want a sound to play when a user drags an object on the right location.
The name of the sound is good_job.wav and already stands in the library
this is my script:
on (press){
startDrag("",true);
}
on (release){
stopDrag();
if (eval (_root.lepel1._droptarget)== _root.lepel3);
_root.lepel1._x = _root.lepel3._x;
_root.lepel1._y = _root.lepel3._y;
_root.total = _root.total + 100;
}
Thanks already,
i want a sound to play when a user drags an object on the right location.
The name of the sound is good_job.wav and already stands in the library
this is my script:
on (press){
startDrag("",true);
}
on (release){
stopDrag();
if (eval (_root.lepel1._droptarget)== _root.lepel3);
_root.lepel1._x = _root.lepel3._x;
_root.lepel1._y = _root.lepel3._y;
_root.total = _root.total + 100;
}
Thanks already,