Posted By

limonn on 08/19/06


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

damarev


deslizando un movie clip


 / Published in: ActionScript
 

  1. //------------ en las acciones
  2.  
  3. _root.boton1_btn.onPress=function(){ // aprieto el boton
  4.  
  5. pagina_mc.quierollegar = 500; //
  6.  
  7. }
  8.  
  9. //------------------- en el Movie Clip------
  10.  
  11. onClipEvent (load) {
  12. _x=0; // punto de partida
  13.  
  14. easeSpeed = 5;
  15.  
  16. }
  17. onClipEvent (enterFrame) {
  18.  
  19. _x += (quierollegar-_x)/easeSpeed;
  20.  
  21. }

Report this snippet  

You need to login to post a comment.