# Timeline Effect in button - does anyone have the answer?

**URL:** <https://forum.kirupa.com/t/timeline-effect-in-button-does-anyone-have-the-answer/263275>\
**Category:** flash\
**Created:** [June 13, 2008, 10:09pm UTC](https://forum.kirupa.com/t/timeline-effect-in-button-does-anyone-have-the-answer/263275 "2008-06-13T22:09:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aligray](https://avatars.discourse-cdn.com/v4/letter/a/bcef8e/32.png) [@aligray](https://forum.kirupa.com/u/aligray)\
**Post date:** [June 13, 2008, 10:09pm UTC](https://forum.kirupa.com/t/timeline-effect-in-button-does-anyone-have-the-answer/263275/1 "2008-06-13T22:09:18Z")

</div>

I have looked everywhere online and no one seems to have the answer to this so im stuck. i need to put a timeline effect on a butotn (which will be a movie clip) so when hit it slides up and stays there until another button is pressed. can anyone give me a push in the right direction for the action script needed for this…

---

<div class="post-metadata">

**Author:** ![aligray](https://avatars.discourse-cdn.com/v4/letter/a/bcef8e/32.png) [@aligray](https://forum.kirupa.com/u/aligray)\
**Post date:** [June 13, 2008, 10:19pm UTC](https://forum.kirupa.com/t/timeline-effect-in-button-does-anyone-have-the-answer/263275/2 "2008-06-13T22:19:52Z")

</div>

i figured it out with…

website\_button.onPress = function () {  
gotoAndPlay(3);  
this.onRollOut = null;  
}

hooray me
