Here is one solution. Put the message for each button in a separate layer that displays when the timeline goes to a designated frame (identified with a label). Create an on click event listener for each button that calls a function to advance to the labeled frame. The code is in frame 1 of a layer named Actions and reads:
this.stop();
this.button1.addEventListener("click", fl_ClickToGoToAndStopAtFrame.bind(this, "Page1")); this.button2.addEventListener("click", fl_ClickToGoToAndStopAtFrame.bind(this, "Page2")); this.button3.addEventListener("click", fl_ClickToGoToAndStopAtFrame.bind(this, "Page3")); this.button4.addEventListener("click", fl_ClickToGoToAndStopAtFrame.bind(this, "Page4"));
function fl_ClickToGoToAndStopAtFrame(t){ this.gotoAndStop(t); }
... View more