Highlighted

hello, i need help with action script code. i dont know how to solve it

New Here ,
Jun 08, 2020

Copy link to clipboard

Copied

hello, i need help with action script code. i dont know how to solve it & i need to make sure to solve this before tomorrow!!

how to solve this coding in action script? 

 

it says 1021: duplicate funtion definition on this line.

function fl_ClickToGoToAndStopAtFrame_12(event:MouseEvent):void

 

stop();

btnnext5.addEventListener(MouseEvent.CLICK, fl_ClickToGoToNextFrame_9);

function fl_ClickToGoToNextFrame_9(event:MouseEvent):void
{
nextFrame(61);
}

stop();

btnprevious5.addEventListener(MouseEvent.CLICK, fl_ClickToGoToPreviousFrame_11);

function fl_ClickToGoToPreviousFrame_11(event:MouseEvent):void
{
prevFrame();
}

stop();

btnhome5.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_12);

function fl_ClickToGoToAndStopAtFrame_12(event:MouseEvent):void
{
gotoAndStop(1);
}

 

Views

68

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

hello, i need help with action script code. i dont know how to solve it

New Here ,
Jun 08, 2020

Copy link to clipboard

Copied

hello, i need help with action script code. i dont know how to solve it & i need to make sure to solve this before tomorrow!!

how to solve this coding in action script? 

 

it says 1021: duplicate funtion definition on this line.

function fl_ClickToGoToAndStopAtFrame_12(event:MouseEvent):void

 

stop();

btnnext5.addEventListener(MouseEvent.CLICK, fl_ClickToGoToNextFrame_9);

function fl_ClickToGoToNextFrame_9(event:MouseEvent):void
{
nextFrame(61);
}

stop();

btnprevious5.addEventListener(MouseEvent.CLICK, fl_ClickToGoToPreviousFrame_11);

function fl_ClickToGoToPreviousFrame_11(event:MouseEvent):void
{
prevFrame();
}

stop();

btnhome5.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_12);

function fl_ClickToGoToAndStopAtFrame_12(event:MouseEvent):void
{
gotoAndStop(1);
}

 

Views

69

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
Jun 08, 2020 0
Adobe Community Professional ,
Jun 09, 2020

Copy link to clipboard

Copied

Hi.

 

Please verify if you don't have another function called fl_ClickToGoToAndStopAtFrame_12 in another frame.

 

 

Regards,

JC

__________________________________________
HTML5, JSFL, and AS3 samples: http://bit.ly/2mJgDoG

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...
Jun 09, 2020 0