You need a flash program where user will be able to move objects or shapes using keyboard? It’s not difficult to create. Just follow step-by-step instructions, write some action script code and you will make it!.
1. Launch Flash MX 2004
2. Create new Flash file. Click File > New...
3. Select Flash Document in a new window
4. With the "Rectangle Tool" draw a simple shape in the middle of the working area
5. Convert this shape to the movie clip
6. Click on the movie clip to select it and in the action script panel add the following code:
7. Press Ctrl+Enter and enjoy the show:-) Now you can control the shape motion with the keyboard strokes. Just press "Up", "Down", "Right: or "Left" arrows. This code can be implemented to any game or flash movie.
We hope the information helped you. If you have any questions
or comments, please don't hesitate to post them on the
Forums section Submit your Tutorial at Click Here