Hey every one, This is my first tread, but Im a long time viewer of this site.I ve got a question. Im trying to figure out how to move a clip from one location to another using a button. This is the code on my movie clip.
onClipEvent (load) {
_root.targX=100;;
}
onClipEvent (enterFrame) {
myX = this._x;
difX = myX-_root.targX;
setProperty (this, _x, myX-(difX/25));
}
This is the code on my button.
on (release) {
_root.targX = 600;
}
After the movie clip has move to its new _x location(600). How do I move the clip along its _y axis or any specific loction w/o having to use the random() method.
Got any clues. everyones help is much appreciated. Im using Flash 5.
SKEEN