HOME | DD

Flash-R-Us — Keyboard movement tut

Published: 2005-02-01 07:52:04 +0000 UTC; Views: 2192; Favourites: 21; Downloads: 847
Redirect to original
Description Flash 'R' Us Tutorial

Keyboard tutorial

Author:
Skill level: 3
Teaches:Keyboard movement


Orginal Source of tut
[link]
(If you like this tut and want to fav it, pls fav at this link)
Related content
Comments: 6

catmaster77777 [2008-01-14 09:41:40 +0000 UTC]

dont get it

👍: 0 ⏩: 1

JamieTHedgehog In reply to catmaster77777 [2010-04-30 21:40:18 +0000 UTC]

me either

👍: 0 ⏩: 0

miroku-wolfling [2006-01-17 23:41:58 +0000 UTC]

the link at the end opened in the flash weird .... but anywho this is cool!

👍: 0 ⏩: 0

masterofskulls [2005-10-25 06:59:52 +0000 UTC]

This was very helpful i completely forgot about x and y axis and this kicked it back in my head

👍: 0 ⏩: 0

zaceryspud02 [2005-02-14 10:47:05 +0000 UTC]

onClipEvent (enterFrame) {

if(Key.isDown(Key.LEFT)) {
this._x+=10
}
if(Key.isDown(Key.RIGHT)) {
this._x-=10
}
if(Key.isDown(Key.UP)) {
this._y+=10
}
if(Key.isDown(Key.DOWN)) {
this._y-=10
}

}

This works better because you can press 2 buttons at a time and they both work. You can now move diagonal ^^
Just don't make the movie too large on screen because it will slow down the computer being able to keep up with the keypresses.
Hope thats helped a bit ^^

👍: 0 ⏩: 0

Meatball-man [2005-02-02 07:29:58 +0000 UTC]

rox

👍: 0 ⏩: 0