Hi…
My first post so sry if wrong forum or something.
I get error 1021: Dublicate function definition in CS4 but I use different definitions. Whats wrong?
Heres my 2 buttons:
function setupEvents() {
infBTN.addEventListener(MouseEvent.CLICK, clickButton);
}
setupEvents();
function clickButton(e:MouseEvent) {
gotoAndPlay(55);
}
function setupEvents() {
contactBTN.addEventListener(MouseEvent.CLICK, clickButtonHandler2);
}
setupEvents();
function clickButtonHandler2(e:MouseEvent) {
gotoAndStop(40);
}