# Multiple Button Press

**URL:** <https://forum.kirupa.com/t/multiple-button-press/252621>\
**Category:** flash\
**Created:** [February 21, 2008, 7:44pm UTC](https://forum.kirupa.com/t/multiple-button-press/252621 "2008-02-21T19:44:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cajonestoo](https://avatars.discourse-cdn.com/v4/letter/c/2acd7d/32.png) [@cajonestoo](https://forum.kirupa.com/u/cajonestoo)\
**Post date:** [February 21, 2008, 7:44pm UTC](https://forum.kirupa.com/t/multiple-button-press/252621/1 "2008-02-21T19:44:26Z")

</div>

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.
