Posted By

limonn on 08/19/06


Tagged


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

damarev
andrewrench
arala22


simple sliding


 / Published in: ActionScript
 

URL: http://www.kirupa.com/developer/mx/followease.htm

lo transforme con un go where I toll ya instead of the mouse borre root.xmouse;

  1. onClipEvent (load) {
  2. _x = 0;
  3. _y = 0;
  4. speed = 4;
  5. }
  6. onClipEvent (enterFrame) {
  7. endX = 500;
  8. endY = 250;
  9. _x += (endX-_x)/speed;
  10. _y += (endY-_y)/speed;
  11. }

Report this snippet  

You need to login to post a comment.