html5 canvas project crashes when i add a code for a button
At a specific frame when i add a code snippet for a button to go to next frame it causes the whole project to fail when i test in browser. The whole html5 canvas website is blank and i get these errors:
Uncaught SyntaxError: Unexpected token ':'
rawsourcescybertronic.html:24 Uncaught ReferenceError: AdobeAn is not defined
at init (rawsourcescybertronic.html:24:11)
at onload (rawsourcescybertronic.html:101:44)
When code is removed it works perfectly fine
