# Simple AS Help -Flash5-

**URL:** <https://forum.kirupa.com/t/simple-as-help-flash5/94832>\
**Category:** Uncategorized\
**Created:** [November 17, 2003, 12:10pm UTC](https://forum.kirupa.com/t/simple-as-help-flash5/94832 "2003-11-17T12:10:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![seiferz](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@seiferz](https://forum.kirupa.com/u/seiferz)\
**Post date:** [November 17, 2003, 12:10pm UTC](https://forum.kirupa.com/t/simple-as-help-flash5/94832/1 "2003-11-17T12:10:20Z")

</div>

Three simple things that i wanna know…

if (Key.isDown(Key.UP)) {

What would i put instead of UP if i wanted say the letter ‘a’ to be the button?

and

What would i put if i wanted a button when pressed to refresh the game or page…

one more thing…im making a simple race car game and i wanna make it so when it passes the start line it adds 1 to the score…how can i do this…

ive got \_root.score += 1; to show the score but how would i make it so when the car moves over a certain co-ordinate or something…the score would rise one…would i be able to put some MC as the start line and have it so when it passes over that MC it would add 1 to the score

Thnx
