A Flash Developer Resource Site

Results 1 to 1 of 1

Thread: Animation Dependant on key pressed

  1. #1
    Junior Member
    Join Date
    Nov 2009
    Posts
    1

    Animation Dependant on key pressed

    Hi im new to the forum.

    I have a problem in my project of making a simple flash game. The character is supposed to move according to the arrow keys pressed, which I have managed to work out myself.
    The problem is when moving in direct I want to use an animation of the character walking in that direction not just a still image. And then show the still image for that direction its facing when standing still.

    I will attach the file for an example. I have only set it up so that the character should start facing up, then when the down arrow key is pressed, to use the "southwalking" animation sequence and then when facing down but still to show the "south" image for standing still.

    Any help would be appreciated.
    Im using macromedia flash 8 which uses action script 2.0
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center