Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

How to move movie clips in Macromedia flash pro 8

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
6,094
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jan 30, 2008

Tutorial how move movie clips with arrows in Macromedia flash professional 8. Put &fmt=18 end of video url to watch this in high quality

And here is the code, I have checked it and it works

onClipEvent(enterFrame){
if(Key.isDown(Key.RIGHT)){
this._x +=5;
}
if(Key.isDown(Key.LEFT)){
this._x -=5;
}
if(Key.isDown(Key.UP)){
this._y -=5;
}
if(Key.isDown(Key.DOWN)){
this._y +=5;
}
}

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (Tut0r1al3r)

  • 1:35

    "then 'just' add action script"

    huh...where? i mean, i'm new, i don't know where al those controls are, therefore i wanted to find than out in a tuturial^^

  • The action script code is pasted on video description if you didn't knew that ^^

  • in the end of your code, why do you us } twice?

  • Well if I'm correct at this it's because the first } mark means end of that key down thing and the another one is mark that the code will end totally then, I'm not so sure but I'll do that as that

  • your awesome! you know coding =O

  • Thanks! :)

Top Comments

  • THANK YOU!!!!!!!!!!!

    a very nice tutorial

  • Are you sure that you have right code?

    With that code it will move

see all

All Comments (14)

Sign In or Sign Up now to post a comment!
  • Thx this is what i need!

    Great job!

  • i knew that, but what i wanted to know was how i can even get to the action script menu - i didn't know where i have to write that script down :P

    (i figgured it out meanwhile, though)

  • If u wanna edit the speed edit the numer like i want to go down faster i should edit the number to more like 10

  • It works! The code whas the important thing... i only needed to know that ;)

    PS:for ppl it dousnt work... make sure you have the right version of Macromedia Flash!!

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more