Highlighted

having trouble with 1084: Syntax error: expecting rightparen before colon

New Here ,
Nov 19, 2019

Copy link to clipboard

Copied

it's asking for a rightparen between the MouseEvent and the colon

here is the line of code the error is showing up in:

function fl_ClickToGoToAndPlayFromFrame(event: MouseEvent: startBtn) {

 

Adobe Community Professional
Correct answer by kglad | Adobe Community Professional

use:

 

function fl_ClickToGoToAndPlayFromFrame(event: MouseEvent) {

TOPICS
ActionScript, Error

Views

65

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

having trouble with 1084: Syntax error: expecting rightparen before colon

New Here ,
Nov 19, 2019

Copy link to clipboard

Copied

it's asking for a rightparen between the MouseEvent and the colon

here is the line of code the error is showing up in:

function fl_ClickToGoToAndPlayFromFrame(event: MouseEvent: startBtn) {

 

Adobe Community Professional
Correct answer by kglad | Adobe Community Professional

use:

 

function fl_ClickToGoToAndPlayFromFrame(event: MouseEvent) {

TOPICS
ActionScript, Error

Views

66

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Nov 19, 2019 0
Adobe Community Professional ,
Nov 19, 2019

Copy link to clipboard

Copied

use:

 

function fl_ClickToGoToAndPlayFromFrame(event: MouseEvent) {

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 19, 2019 0