| | How To Make A Walk on click code in flash! | |
|
|
| Author | Message |
|---|
RED Legendary Duck

Posts: 1532 Join date: 2009-09-16
 | Subject: How To Make A Walk on click code in flash! Sat Sep 19, 2009 12:39 pm | |
| In This Tutorial, I will be teaching you how to make something walk on a click in flash! (ACTIONSCRIPT 2.0) 1. Open Flash and make your character a movie clip 2. open up its actions and put in this code:
onClipEvent (load) { _x = 0; _y = 0; speed = 15; } onClipEvent (mouseDown) { endX = _root._xmouse; endY = _root._ymouse; } onClipEvent (enterFrame) { _x += (endX-_x)/speed; _y += (endY-_y)/speed; }
3. Test Your movie and it works!!!! ~RED~ |
|
 | |
Branmatt Ice Cream Parlor Manager

Posts: 196 Join date: 2009-08-27 Age: 15 Location: Lancaster, PA
 | Subject: Re: How To Make A Walk on click code in flash! Sat Sep 19, 2009 12:40 pm | |
| TO RED:
Вы знаете, как в коде ActionScript 2?
Спасибо! ~ Branmatt
:Duck: |
|
 | |
RED Legendary Duck

Posts: 1532 Join date: 2009-09-16
 | Subject: Re: How To Make A Walk on click code in flash! Sat Sep 19, 2009 12:45 pm | |
| |
|
 | |
Branmatt Ice Cream Parlor Manager

Posts: 196 Join date: 2009-08-27 Age: 15 Location: Lancaster, PA
 | Subject: Re: How To Make A Walk on click code in flash! Sat Sep 19, 2009 12:49 pm | |
| Ну, я мог бы использовать парень, как ты! (Может быть!)
Спасибо! ~ Branmatt
:Duck: |
|
 | |
RED Legendary Duck

Posts: 1532 Join date: 2009-09-16
 | Subject: Re: How To Make A Walk on click code in flash! Sat Sep 19, 2009 12:56 pm | |
| |
|
 | |
Branmatt Ice Cream Parlor Manager

Posts: 196 Join date: 2009-08-27 Age: 15 Location: Lancaster, PA
 | Subject: Re: How To Make A Walk on click code in flash! Sat Sep 19, 2009 1:07 pm | |
| Нет проблем!
Спасибо! ~ Branmatt
:Duck: |
|
 | |
Aamelo Support


Posts: 394 Join date: 2009-08-15 Age: 15 Location: Portugal
 | Subject: Re: How To Make A Walk on click code in flash! Sat Sep 19, 2009 2:58 pm | |
| Guys please talk Portuguese English, everybody has the right to know what ur writing! |
|
 | |
RED Legendary Duck

Posts: 1532 Join date: 2009-09-16
 | Subject: Re: How To Make A Walk on click code in flash! Sat Sep 19, 2009 3:01 pm | |
| |
|
 | |
Rory Moderator

Posts: 203 Join date: 2009-08-18 Age: 15
 | Subject: Re: How To Make A Walk on click code in flash! Mon Sep 21, 2009 6:22 am | |
| It'll be better if "speed = 5" because if it's 15, the duck will move very slowly |
|
 | |
Matt Forum Administrator


Posts: 1078 Join date: 2009-08-15 Age: 15 Location: North Carolina
 | Subject: Re: How To Make A Walk on click code in flash! Mon Sep 21, 2009 4:37 pm | |
| Tudo bem se eles querem ... I guess!  Это здорово, если они хотят ... Я думаю! UPDATE: Y español, también! (And spanish, too) lol |
|
 | |
Neon Legendary Duck
Posts: 10 Join date: 2009-09-20 Age: 16 Location: Behind You!
 | Subject: Re: How To Make A Walk on click code in flash! Wed Sep 23, 2009 11:42 pm | |
| So what does that say. I only speak English. Ok, und ein bisschen Deutsche.  |
|
 | |
Rory Moderator

Posts: 203 Join date: 2009-08-18 Age: 15
 | Subject: Re: How To Make A Walk on click code in flash! Thu Sep 24, 2009 1:02 pm | |
| |
|
 | |
Matt Forum Administrator


Posts: 1078 Join date: 2009-08-15 Age: 15 Location: North Carolina
 | Subject: Re: How To Make A Walk on click code in flash! Sun Sep 27, 2009 3:58 pm | |
| Hahahahahahahahahahhhhhh, it means (Brief summary.) It's okay if they want to! I guess..  (Speak different languages.) |
|
 | |
CannonTurtle Bakery Employee

Posts: 108 Join date: 2009-10-26
 | Subject: Re: How To Make A Walk on click code in flash! Tue Oct 27, 2009 12:26 am | |
| Oh yeah,
el tema que bajar! |
|
 | |
RED Legendary Duck

Posts: 1532 Join date: 2009-09-16
 | Subject: Re: How To Make A Walk on click code in flash! Wed Oct 28, 2009 11:33 pm | |
| LOL okay, chill with da diffy languages! |
|
 | |
| | How To Make A Walk on click code in flash! | |
|