is repeatitive function name of buttons prones to problems? (html5)
hi everyone, im pretty new to animate. im trying to make an interactive animation with mainly navigation buttons, and i do this by using gotoandplay/stop codes in code snippets a lot. the first few buttons worked really well, but the problem is the codes seem just not take effects on the new buttons i've created recently (the old ones still work).
here's one of the many codes that failed to work:
this.mlh1_navigation.addEventListener("click", fl_ClickToGoToAndPlayFromFrame_28.bind(this));
function fl_ClickToGoToAndPlayFromFrame_28()
{
this.gotoAndPlay(19);
}
i've searched in the community and i found a post similar to my situation, to which an answer suggested having different function names for the buttons, for repeatitive function name is problematic. im not really sure how to change function name? i do keep the frame number in the second line different though i dont know what does it mean...
anyone knows what is going on here?
