# Buttons and animations problem

**URL:** <https://forum.kirupa.com/t/buttons-and-animations-problem/151248>\
**Category:** flash\
**Created:** [June 14, 2005, 10:55am UTC](https://forum.kirupa.com/t/buttons-and-animations-problem/151248 "2005-06-14T10:55:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Inept](https://avatars.discourse-cdn.com/v4/letter/i/e274bd/32.png) [@Inept](https://forum.kirupa.com/u/Inept)\
**Post date:** [June 14, 2005, 10:55am UTC](https://forum.kirupa.com/t/buttons-and-animations-problem/151248/1 "2005-06-14T10:55:26Z")

</div>

Ok hers the problem I have four buttons set up in my very early portfolio and each button triggers a fade out animation of the boxes on the stage and then fades in the boxes that corresponds to the button pushed, the issue being that if i was to push the buttons non consecutively it plays the wrong fade out animation. How can I check to see which page the user is on so the fade out animation plays correctly?

Cheers,  
Inept
