# Problems with actionscript (scene to scene)

**URL:** <https://forum.kirupa.com/t/problems-with-actionscript-scene-to-scene/153311>\
**Category:** Uncategorized\
**Created:** [June 30, 2005, 4:08pm UTC](https://forum.kirupa.com/t/problems-with-actionscript-scene-to-scene/153311 "2005-06-30T16:08:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![artifex](https://avatars.discourse-cdn.com/v4/letter/a/848f3c/32.png) [@artifex](https://forum.kirupa.com/u/artifex)\
**Post date:** [June 30, 2005, 4:08pm UTC](https://forum.kirupa.com/t/problems-with-actionscript-scene-to-scene/153311/1 "2005-06-30T16:08:13Z")

</div>

hum…I know this is a silly question but working in a new site (my first) with flash on one of the buttons i wrote on the action panel:

on(release) {  
gotoAndPlay,(Scene 2, 1);

and when I tested it, an error message appeared:

**Error** Scene=Scene 1, layer=boton caste, frame=255:Line 2: ‘)’ expected  
gotoAndPlay,(Scene 2, 1);  
Total ActionScript Errors: 1 Reported Errors: 1

what exactly I’m a doing /writing wrong???

Ale drowning in a glass of water
