# Whats wrong with my script

**URL:** <https://forum.kirupa.com/t/whats-wrong-with-my-script/300003>\
**Category:** flash\
**Created:** [November 14, 2009, 2:47am UTC](https://forum.kirupa.com/t/whats-wrong-with-my-script/300003 "2009-11-14T02:47:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![GuntherRox](https://avatars.discourse-cdn.com/v4/letter/g/eb9ed0/32.png) [@GuntherRox](https://forum.kirupa.com/u/GuntherRox)\
**Post date:** [November 14, 2009, 2:47am UTC](https://forum.kirupa.com/t/whats-wrong-with-my-script/300003/1 "2009-11-14T02:47:27Z")

</div>

```auto
onClipEvent (keyDown) {
    if (Key.isDown(65)) {
        trace("You pressed 'A' ")
        gotoAndPlay(2);
    }}

```

im trying to make a mc go onto another frame, when key A is hit. helpzz pwease!!! :hobbes:
