# One button to perform two actions

**URL:** <https://forum.kirupa.com/t/one-button-to-perform-two-actions/225773>\
**Category:** Uncategorized\
**Created:** [May 15, 2007, 3:43pm UTC](https://forum.kirupa.com/t/one-button-to-perform-two-actions/225773 "2007-05-15T15:43:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lavendettadelau](https://avatars.discourse-cdn.com/v4/letter/l/df788c/32.png) [@lavendettadelau](https://forum.kirupa.com/u/lavendettadelau)\
**Post date:** [May 15, 2007, 3:43pm UTC](https://forum.kirupa.com/t/one-button-to-perform-two-actions/225773/1 "2007-05-15T15:43:40Z")

</div>

hello! i hope anyone can help me, i’ve got a list of products, and what i want to do is that with one button “next”, go to another list, and so on with the rest of my products. but i want to use the same button. i’m not using tweens, i’m moving my list with actioscript, the list is masked and it is a big movie clip. anyone can help me?  
i got the code to move it once, i want to tell the button to move it somewhere else if the movie is already in that position.  
thanks to all!
