Setting initial draggable mc location to reset at end of quiz
Posted on 2003-11-26
I'd like to be able to set the initial location of each of my draggable movieclips and then reset them to that initial location with the press of a button.
On each button, I was trying:
_root.xpos1 = _target._x;
_root.ypos1 = _target._y;
and then trying to reset the mc's location from a button for restarting the program like this:
setProperty ("Button1", _x, _root.xpos1);
setProperty ("Button1", _y, _root.ypos1);
But that doesn't work.