# Buttons comunicateing with frames inside movie clip

**URL:** <https://forum.kirupa.com/t/buttons-comunicateing-with-frames-inside-movie-clip/106549>\
**Category:** Uncategorized\
**Created:** [April 6, 2004, 9:40pm UTC](https://forum.kirupa.com/t/buttons-comunicateing-with-frames-inside-movie-clip/106549 "2004-04-06T21:40:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Desire](https://avatars.discourse-cdn.com/v4/letter/d/f475e1/32.png) [@Desire](https://forum.kirupa.com/u/Desire)\
**Post date:** [April 6, 2004, 9:40pm UTC](https://forum.kirupa.com/t/buttons-comunicateing-with-frames-inside-movie-clip/106549/1 "2004-04-06T21:40:21Z")

</div>

nice long title eh… lol ne ways

ive got this movie clip and inside it i have 4 frames all with diffrent images on.

now ive got these buttons on the main timeline bit and i want the 1st button to gotoandstop frame 1 inside that movie clip and the 2nd button to gotoandstop frame2 inside that movie clip and so on with total of 4 buttons which = to the four frames inside the movie clip.

i was just wondering wat the code wud be to get the buttons to interacte with that movie clip would be cos i have no idea.

im guessin it wud be summit like…

on (press) {  
gotoAndStop(“summit to do with movieclip here”,“frame number”);  
}

but i have no idea how to code or owt im gonna have to knuckle down and learn sum over these easter.

any help wud be greatly apreciated thank you

---

<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:** [April 6, 2004, 9:42pm UTC](https://forum.kirupa.com/t/buttons-comunicateing-with-frames-inside-movie-clip/106549/2 "2004-04-06T21:42:28Z")

</div>

```auto
on (press) {
mc.gotoAndStop(frame number);//replace mc with the movieclip instance name
}

```

---

<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:** [April 6, 2004, 9:43pm UTC](https://forum.kirupa.com/t/buttons-comunicateing-with-frames-inside-movie-clip/106549/3 "2004-04-06T21:43:57Z")

</div>

WOAH! that was fast man nice one! thought it wud have been summit easy hehe thanks bud.

---

<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:** [April 6, 2004, 9:46pm UTC](https://forum.kirupa.com/t/buttons-comunicateing-with-frames-inside-movie-clip/106549/4 "2004-04-06T21:46:31Z")

</div>

Anytime Desire 😉
