# Button play frame on timeline

**URL:** <https://forum.kirupa.com/t/button-play-frame-on-timeline/296958>\
**Category:** Uncategorized\
**Created:** [September 23, 2009, 10:54am UTC](https://forum.kirupa.com/t/button-play-frame-on-timeline/296958 "2009-09-23T10:54:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![donkeykong](https://avatars.discourse-cdn.com/v4/letter/d/6f9a4e/32.png) [@donkeykong](https://forum.kirupa.com/u/donkeykong)\
**Post date:** [September 23, 2009, 10:54am UTC](https://forum.kirupa.com/t/button-play-frame-on-timeline/296958/1 "2009-09-23T10:54:50Z")

</div>

Hi all

would anyone beable to direct me to a simple technote on how to play the timeline with a simple button

example:  
in AS2 you could attached script to button something like

on MouseEvent {  
gotoandplay(6);  
}

thats all I am trying to do, but in AS3 how do I simply get a button when clicked to go to a frame and play. ![](http://forum.kirupa.com/uploads/kirupa/3617/361341c146e0850c.gif)

many thanks for any help!
