• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

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

New Here ,
Jun 08, 2020 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

141

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
community guidelines
Community Expert ,
Jun 09, 2020 Jun 09, 2020

Copy link to clipboard

Copied

LATEST

Hi.

 

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

 

 

Regards,

JC

Votes

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
community guidelines