actionScripting HELP PLEASE!!!
actionScripting HELP PLEASE!!!
- Started
- Last post
- 1 Response
- seventhHope
um... im made a movie clip that changed its _x position with the _ymouse position and with an onRelease funcion i want it to return to its original position from where ever it is on stage. is there anyposible way i can do this? pleas help!
- ctrlRmB0
before you make the first change just store the original position in the clip
yourClip.origX=_x
yourClip.origY=_ythen send it to the new position...
so your return function could be:
function returnToPosition(){
myClip._x = myClip.origX
myClip._y = myClip.origY
}...hope that helps