I have this to initialize my clips:
function initializeItem(obj) {
obj.startx = obj._x;
obj.starty = obj._y;
obj.returnFlag = false;
}
but If I code a button to reset the clips using:
resetBTN.onRelease = function{
obj._x=obj.startx ;
obj._y=obj.starty;
}
it doesn’t put them back where they were before they were dragged and dropped on the target clips.
Everything else is working fine, but I tried different combinations to reset the clips and nothing happens.
Any lights?? The file is still the one in the original post, with the correction marked by Macaroni ( thanks again!!)
I’m posting this part in a new post, because the old one is marked as closed and I can’t edit it:(
Thanks!
Brisa
This post is to be closed!! Macaroni Ted helped me and I’m so happy:))