# Expecting rightparen before semicolon error!

**URL:** <https://forum.kirupa.com/t/expecting-rightparen-before-semicolon-error/320529>\
**Category:** Uncategorized\
**Created:** [March 26, 2011, 3:01am UTC](https://forum.kirupa.com/t/expecting-rightparen-before-semicolon-error/320529 "2011-03-26T03:01:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dkdanielkli](https://avatars.discourse-cdn.com/v4/letter/d/bb73d2/32.png) [@dkdanielkli](https://forum.kirupa.com/u/dkdanielkli)\
**Post date:** [March 26, 2011, 3:01am UTC](https://forum.kirupa.com/t/expecting-rightparen-before-semicolon-error/320529/1 "2011-03-26T03:01:25Z")

</div>

OK so I have two scenes. Scene 1 which is the main one and Scene 4 which i want my button named playButton to link to.  
this is the code that I got so far :

playButton\_btn.onRelease = (gotoAndStop(“Scene 4”, 1); )()  
{gotoAndStop(“Scene 4”, 1);};

I made some space between ; and ) because it shows a smiley here …

It says that it is expecting rightparen before semicolon.  
could you please help me with that as i’m new to as3 …  
Thanks guys ! :thumb2:
