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);
}
Copy link to clipboard
Copied
Hi.
Please verify if you don't have another function called fl_ClickToGoToAndStopAtFrame_12 in another frame.
Regards,
JC