# Controlling timeline from button name

**URL:** <https://forum.kirupa.com/t/controlling-timeline-from-button-name/59632>\
**Category:** flash\
**Created:** [August 2, 2004, 5:47pm UTC](https://forum.kirupa.com/t/controlling-timeline-from-button-name/59632 "2004-08-02T17:47:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![felipegm](https://avatars.discourse-cdn.com/v4/letter/f/e9bcb4/32.png) [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Post date:** [August 2, 2004, 5:47pm UTC](https://forum.kirupa.com/t/controlling-timeline-from-button-name/59632/1 "2004-08-02T17:47:17Z")

</div>

Hi,

I have a huge timeline with photos, each photo on a different frame, and several buttons, one for each picture on the first frame.

My idea is to make a unique action for the buttons that tells the timeline to go to the frame number that is the same as the button instance name.

How to do that?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 2, 2004, 10:33pm UTC](https://forum.kirupa.com/t/controlling-timeline-from-button-name/59632/2 "2004-08-02T22:33:40Z")

</div>

something like this?
