Gotoandplay Problem

Hi guys,

I very new to AS.

I’m getting an error with the below code:

gotoAndPlay(“scene2”, 1);

Error:
1067: Implicit coercion of a value of type int to an unrelated type String.

Go I want to do at this point is jump to ‘scene2’ when the time line hits a certain frame on scene1.

Is this the correct way of doing it, if not could you advise me please.

Thanks for your help in advance