# gotoAndPlay?

**URL:** https://forum.kirupa.com/t/gotoandplay/188241
**Category:** Uncategorized
**Created:** [May 5, 2006, 5:25pm UTC](https://forum.kirupa.com/t/gotoandplay/188241 "2006-05-05T17:25:12Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Deke](https://avatars.discourse-cdn.com/v4/letter/d/cab0a1/32.png) [@Deke](https://forum.kirupa.com/u/Deke)
#### Post date: [May 5, 2006, 5:25pm UTC](https://forum.kirupa.com/t/gotoandplay/188241/1 "2006-05-05T17:25:12Z")

</div>

Hi!

I’ve got a timeline (the attachment) that stops at frame1. Then If you click on the portfolio button it goes to frame label “frame\_portfolio”. The portfolio then opens in a movieclip where you can browse thumbnails.

Now to my question.

If you click on a thumbnail I want the \_root to go to frame label “show\_room” (show\_room opens in a movieclip) and then go to the frame where the large image of the thumbnail is located.

I’ve managed to get the first image in the “show\_room” to work with:

[COLOR=royalblue]on (release) {  
tellTarget ("\_root") {  
gotoAndPlay(“show\_room”);  
}  
}  
[/COLOR]  
The first image in the show\_room is the first thumbnail.

But how do I tell my flash that: If I click on thumbnail 13 - the show\_room goes to Frame label “ill\_13”.

Thank you!  
Hope you all know what I’m trying to do here 😛

/Deke
