0

Hi there,

I have encountered a strange bug. I have buttons advancing one frame forward and back.

It works in the SWF on its own, it works in both the .app and .exe projector files, but it does not work accessing the SWF via the HTML generated page.

Does anyone have an inkling what's going on?

The code on the two buttons is:

import flash.events.MouseEvent;

stage.displayState = StageDisplayState.FULL_SCREEN;

function next1Click(event:MouseEvent): void {
gotoAndStop(this.currentFrame + 1);
}
function back1Click(event:MouseEvent): void {
gotoAndStop(this.currentFrame - 1);
}

//EVENT LISTENER AND VARIABLE DECLARATION
balancingNext.addEventListener(MouseEvent.CLICK, next1Click);
balancingBack.addEventListener(MouseEvent.CLICK, back1Click);

Thanks in advance for any help!

2
Contributors
1
Reply
6
Views
5 Years
Discussion Span
Last Post by LastMitch
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.