How To: Create a game character that moves using Flash CS4

Create a game character that moves using Flash CS4

So you want to make your own video game using Flash CS4 and Actionscript 3. We applaud your chutzpah. This video will walk you through what should probably be your first steps: importing a sprite character, making them move around in response to keyboard inputs, and making them animate depending on how they are moving. Once you have this established, you can move on to creating enemies to fight, environments to wander, and all the other elements that make a good game.

Download free sprites for your game here.

Download the AS3 file used in the video here.

Want to master Microsoft Excel and take your work-from-home job prospects to the next level? Jump-start your career with our Premium A-to-Z Microsoft Excel Training Bundle from the new Gadget Hacks Shop and get lifetime access to more than 40 hours of Basic to Advanced instruction on functions, formula, tools, and more.

Buy Now (97% off) >

Other worthwhile deals to check out:

Join the Next Reality AR Community

Get the latest in AR — delivered straight to your inbox.


I have an error which says, "Access of undefined property Key." on line 9 where I have it telling to go right. What do I do? The code is EXACTLY the same as yours

Ok, here's another quick question. What do you do if the walking animation is more than 1 frame?

I have just done this and have it working. But I have the same question, my animation has more then two frames, please can you help?

Share Your Thoughts

  • Hot
  • Latest