Answered
1024 Error in AS3
1024: Overriding a function that is not marked for override.
OK, basically trying to move through a frame by frame animation with the first two previous and next buttons, but also allow people to jump to certain frames with other buttons.
here is the code producing the 1024 error
btnNext.addEventListener (MouseEvent.CLICK, moveNext);
function moveNext(evt:MouseEvent):void {
nextFrame();
};
btnPrev.addEventListener (MouseEvent.CLICK, movePrev);
function movePrev(evt:MouseEvent):void {
prevFrame();
};
btnPreschool.addEventListener (MouseEvent.CLICK, gotoAndStop);
function gotoAndStop(evt:MouseEvent) {
gotoAndStop("preschool");
};
stop()
I have tried everything I can think of. I am a complete n00b at this and am completely lost.
OK, basically trying to move through a frame by frame animation with the first two previous and next buttons, but also allow people to jump to certain frames with other buttons.
here is the code producing the 1024 error
btnNext.addEventListener (MouseEvent.CLICK, moveNext);
function moveNext(evt:MouseEvent):void {
nextFrame();
};
btnPrev.addEventListener (MouseEvent.CLICK, movePrev);
function movePrev(evt:MouseEvent):void {
prevFrame();
};
btnPreschool.addEventListener (MouseEvent.CLICK, gotoAndStop);
function gotoAndStop(evt:MouseEvent) {
gotoAndStop("preschool");
};
stop()
I have tried everything I can think of. I am a complete n00b at this and am completely lost.