# Need help with ActionScripting for platform game

**URL:** https://forum.kirupa.com/t/need-help-with-actionscripting-for-platform-game/260158
**Category:** flash
**Created:** [May 13, 2008, 1:04am UTC](https://forum.kirupa.com/t/need-help-with-actionscripting-for-platform-game/260158 "2008-05-13T01:04:34Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![hockey4life](https://avatars.discourse-cdn.com/v4/letter/h/e9a140/32.png) [@hockey4life](https://forum.kirupa.com/u/hockey4life)
#### Post date: [May 13, 2008, 1:04am UTC](https://forum.kirupa.com/t/need-help-with-actionscripting-for-platform-game/260158/1 "2008-05-13T01:04:34Z")

</div>

Hi guys, I just began using flash and I am very eager to develop movies and games in it. I just recently started a mario game, but there is a problem. Actually 2, first off I need a code that will make my character (Instance name "player) go to the standing animation when there are no arrow keys being pressed. For example, he constantly remains in the running animation, even if I release all buttons. Second problem, I need a code to make him jump (please try to make the code as similar to mario’s jump in the real game as possible). All help will be greatly appreciated. Thanks, Ryan (hockey4life):mario:

---

<div class="post-metadata">

### Author: ![hockey4life](https://avatars.discourse-cdn.com/v4/letter/h/e9a140/32.png) [@hockey4life](https://forum.kirupa.com/u/hockey4life)
#### Post date: [May 15, 2008, 10:28pm UTC](https://forum.kirupa.com/t/need-help-with-actionscripting-for-platform-game/260158/2 "2008-05-15T22:28:23Z")

</div>

> [@hockey4life;2325335](#):
>
> Hi guys, I just began using flash and I am very eager to develop movies and games in it. I just recently started a mario game, but there is a problem. Actually 2, first off I need a code that will make my character (Instance name "player) go to the standing animation when there are no arrow keys being pressed. For example, he constantly remains in the running animation, even if I release all buttons. Second problem, I need a code to make him jump (please try to make the code as similar to mario’s jump in the real game as possible). All help will be greatly appreciated. Thanks, Ryan (hockey4life):mario:

anyone?
