Need some help…
Here’s my code:
on (rollOver) {
tellTarget (“rollover”) {
gotoAndPlay(“text7IN”);
}
}
on (rollOver) {
tellTarget (“headings”) {
gotoAndPlay(“Heading7”);
}
}
on (rollOut) {
tellTarget (“rollover”) {
gotoAndPlay(“text7OUT”);
}
}
on (rollout) {
tellTarget (“headings”) {
gotoAndPlay(“HeadingOUT”);
}
}
on (press) {
tellTarget (“rollover”) {
gotoAndPlay(“text7-2”);
}
}
The UI is simple…this is a simple button with a rollover/rollout technique. As a user rolls over this button, it displays a “pop-up” Header and “pop-up” text area in separate areas of the stage. Everything is working great. However I need one more action. When a user “hovers” over this button and “presses” - it correctly moves to “text7-2” (btw…there is a stop action at this frame that keeps the text area, (page 2), displayed). I want another “press” action to move to another frame - “text7-3” (page 3). All the code I’ve tried doesn’t work…
Any clues on pressing a button multiple times to advance in the timeline.