# Simple actionscript Problem

**URL:** <https://forum.kirupa.com/t/simple-actionscript-problem/203164>\
**Category:** Uncategorized\
**Created:** [October 8, 2006, 4:35pm UTC](https://forum.kirupa.com/t/simple-actionscript-problem/203164 "2006-10-08T16:35:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jimp](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jimp/32/1747_2.png) [@Jimp](https://forum.kirupa.com/u/Jimp)\
**Post date:** [October 8, 2006, 4:35pm UTC](https://forum.kirupa.com/t/simple-actionscript-problem/203164/1 "2006-10-08T16:35:47Z")

</div>

Ok Ive got a basic actionscript problem:

I have a movieclip on the main stage, called “main\_exits”, and inside that another movie clip called “747\_main\_Deck”.

I have a button in the “main\_exits” movieclip, which when pressed I want it to go to a frame labelled “symbols\_circle” in the “747\_main\_Deck” MC.

here is the actionscript I am using (which doesnt work):

```auto
 on(release){
this.747_main_Deck(gotoAndPlay("symbols_circle"));
}

```

This script is obviously attached to the button which I want to be pressed.

Whats wrong with the script I am using? It comes up with a syntax error, and I dont know what i am doing wrong. Any help?

Thanks in advance!
