Error 1084: Expecting righparen before release

235 views Asked by At

My code is:

(on release) {gotoAndPlay('amarula_main')}

Then I get the following:

1084: Syntax error:expecting rightparen before release.

I get two error messages like that, both with the same error, what am I doing wrong?

1

There are 1 answers

0
Shaun On

I believe this should be:

on (release) {gotoAndPlay('amarula_main')}

Does that work?