# Making images inside of ScrollPane link to frames in main timeline?

**URL:** https://forum.kirupa.com/t/making-images-inside-of-scrollpane-link-to-frames-in-main-timeline/322066
**Category:** flash
**Created:** [May 9, 2011, 3:59pm UTC](https://forum.kirupa.com/t/making-images-inside-of-scrollpane-link-to-frames-in-main-timeline/322066 "2011-05-09T15:59:11Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![lazerbrains](https://avatars.discourse-cdn.com/v4/letter/l/b19c9b/32.png) [@lazerbrains](https://forum.kirupa.com/u/lazerbrains)
#### Post date: [May 9, 2011, 3:59pm UTC](https://forum.kirupa.com/t/making-images-inside-of-scrollpane-link-to-frames-in-main-timeline/322066/1 "2011-05-09T15:59:11Z")

</div>

I have a scrollPane on my Stage and I have it linked to a movieClip containing a series of images that have been converted to buttons. Everything works fine, except I can’t seem to figure out how to get the buttons to link to the main timeline. All I want is them to gotoAndPlay (“frameLableOnTheMainTimeline”). (I am using AS3)

I tried a standard on Click eventListener, but am unsure of the syntax to make it go back to a specific frame on the main timeline.

Can anyone help?

Thanks!
