Flash CS3 - Move when Mouse is clicked Tutorial

Published: 30 September 2009
on channel: MultimediaWiz
3,542
22

The code is:

onClipEvent (load) {
_x = 0;
_y = 0;
speed = 5;
}
onClipEvent (mouseDown) {
endX = _root._xmouse;
endY = _root._ymouse;
}
onClipEvent (enterFrame) {
_x += (endX-_x)/speed;
_y += (endY-_y)/speed;
}

To convert the object to symbol, click F8 in keyboard. For more Tutorials go to: www.multimediawiz.wordpress.com


On this page of the site you can watch the video online Flash CS3 - Move when Mouse is clicked Tutorial with a duration of hours minute second in good quality, which was uploaded by the user MultimediaWiz 30 September 2009, share the link with friends and acquaintances, this video has already been watched 3,542 times on youtube and it was liked by 22 viewers. Enjoy your viewing!