# \[FMX\] moving an object using the keyboard

**URL:** <https://forum.kirupa.com/t/fmx-moving-an-object-using-the-keyboard/29793>\
**Category:** flash\
**Created:** [August 30, 2003, 10:56pm UTC](https://forum.kirupa.com/t/fmx-moving-an-object-using-the-keyboard/29793 "2003-08-30T22:56:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![un4given](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/un4given/32/320_2.png) [@un4given](https://forum.kirupa.com/u/un4given)\
**Post date:** [August 30, 2003, 10:56pm UTC](https://forum.kirupa.com/t/fmx-moving-an-object-using-the-keyboard/29793/1 "2003-08-30T22:56:42Z")

</div>

i’m making a two player pong game using flash mx and i followed [**[u]this**[/u]](http://www.kirupa.com/developer/actionscript/xymove.htm) tutorial to get to grips with moving objects (the bats) up and down.

i got through the tutorial fine but it doesn’t make the objects move smoothly. they jerk then pause before moving normally, which would be no good for the game.

i found [**this**](http://www.newgrounds.com/portal/view.php?id=102467) game on newgrounds which has the pads moving as i’d like them to. can anyone give me any advice on how to move objects like this? i’ve searched through the tutorials here but couldn’t find anything anywhere ☹

if anyone can help i’ll greatly apreciate it 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 30, 2003, 11:02pm UTC](https://forum.kirupa.com/t/fmx-moving-an-object-using-the-keyboard/29793/2 "2003-08-30T23:02:18Z")

</div>

[http://www.kirupaforum.com/forums/showthread.php?s=&threadid=33035](http://www.kirupaforum.com/forums/showthread.php?s=&threadid=33035).

And welcome to kirupa forum!! 😉

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 30, 2003, 11:07pm UTC](https://forum.kirupa.com/t/fmx-moving-an-object-using-the-keyboard/29793/3 "2003-08-30T23:07:25Z")

</div>

how can the computer lose at such type of games ???

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 30, 2003, 11:07pm UTC](https://forum.kirupa.com/t/fmx-moving-an-object-using-the-keyboard/29793/4 "2003-08-30T23:07:58Z")

</div>

thanks kode, you’re the man :thumb:  
wasn’t expecting a reply so fast!!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 30, 2003, 11:19pm UTC](https://forum.kirupa.com/t/fmx-moving-an-object-using-the-keyboard/29793/5 "2003-08-30T23:19:22Z")

</div>

No problem, un4given. =)
