# Multiple actions in one button... problem

**URL:** <https://forum.kirupa.com/t/multiple-actions-in-one-button-problem/233533>\
**Category:** flash\
**Created:** [July 24, 2007, 7:34pm UTC](https://forum.kirupa.com/t/multiple-actions-in-one-button-problem/233533 "2007-07-24T19:34:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fantrom](https://avatars.discourse-cdn.com/v4/letter/f/b5e925/32.png) [@Fantrom](https://forum.kirupa.com/u/Fantrom)\
**Post date:** [July 24, 2007, 7:34pm UTC](https://forum.kirupa.com/t/multiple-actions-in-one-button-problem/233533/1 "2007-07-24T19:34:41Z")

</div>

I want it to move the nav (down) and then go to the correct section in another MC

I have this action on the button:

on (press) {   
\_root.slideObject(“slider”, 531, 823, 3);

//this to slide the nav down

```
_root.contents.gotoAndStop("collection");

```

}

//this to go to the collection section on the MC contents

* * *

The other buttons have this:

on (press) {   
\_root.slideObject(“slider”, 531, 523, 3);

//this to slide the nav backup to original position

```
_root.contents.gotoAndStop("about");

```

}

//this to go to the about section on the MC contents (etc)

Is not working correctly.

Not sliding as it did at beginning. The other buttons take a few clicks before getting back to original position.

What am I missing???

Does it need an if then statement?

Not a good actionscripter (obviously) here asking for some help.

thanks a bunch…
