# HELP with buttons!

**URL:** <https://forum.kirupa.com/t/help-with-buttons/17983>\
**Category:** flash\
**Created:** [April 11, 2003, 6:44pm UTC](https://forum.kirupa.com/t/help-with-buttons/17983 "2003-04-11T18:44:26Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Blenderben](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/blenderben/32/74_2.png) [@Blenderben](https://forum.kirupa.com/u/Blenderben)\
**Post date:** [April 11, 2003, 6:44pm UTC](https://forum.kirupa.com/t/help-with-buttons/17983/1 "2003-04-11T18:44:26Z")

</div>

Ack! I have a problem where I have a 2 movie clips in scene 1, and theres a lot of action in both of these movie clips. but in the end of one movie clip i have a button that I want to act as a jumper. to go from the first movie clip to the 2nd one, but it never works. The first movie clip is at frame 32, and i use the ‘stop’ actionscript to pause the scene and see the clip. The 2nd clip is at frame 62, again is also 'stop’ped to view the clip. The button in the first movie clip keeps going back to the beginning of the first movie clip, I don’t want that. i want it to get out of the movie clip scene and go into scene 1 and then goto frame 62.

the actions for that fugged up button are as follows:

on (release) {  
gotoAndPlay(“Scene 1”, 62);  
}

is that right? :q: someone help me quick! thanks :love:

---

<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 11, 2003, 7:06pm UTC](https://forum.kirupa.com/t/help-with-buttons/17983/2 "2003-04-11T19:06:31Z")

</div>

give your 2nd mc an instance name and then try this:

```php
on (release) {
	_root.instance.gotoAndPlay("Scene 1", 62);
}

```

change “instance” to whatever you named it. =)

---

<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 11, 2003, 7:22pm UTC](https://forum.kirupa.com/t/help-with-buttons/17983/3 "2003-04-11T19:22:45Z")

</div>

hmmmmmmm  
sorry unflux that doesn’t work either.

but at least now it doesn’t play from the mc frame 62. it just does nothing, (the button). you can click it and everything, but there is no action.

do you have another idea? heck, i can send the .fla by email. if u really want to help me

---

<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 11, 2003, 7:25pm UTC](https://forum.kirupa.com/t/help-with-buttons/17983/4 "2003-04-11T19:25:25Z")

</div>

yeah feel free - or upload/attach it here 🙂

---

<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 11, 2003, 7:26pm UTC](https://forum.kirupa.com/t/help-with-buttons/17983/5 "2003-04-11T19:26:37Z")

</div>

oh duh - i see what i did. post your fla anyway tho

---

<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 11, 2003, 7:26pm UTC](https://forum.kirupa.com/t/help-with-buttons/17983/6 "2003-04-11T19:26:48Z")

</div>

the fla file is too big, they won’t let me upload it or attach it. :\

---

<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 11, 2003, 7:27pm UTC](https://forum.kirupa.com/t/help-with-buttons/17983/7 "2003-04-11T19:27:42Z")

</div>

ok -

bryan at unflux . com

---

<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 11, 2003, 7:41pm UTC](https://forum.kirupa.com/t/help-with-buttons/17983/8 "2003-04-11T19:41:42Z")

</div>

ok, i have your fla now.

can you tell me which buttons and mc’s you are trying to work with?

---

<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 11, 2003, 7:50pm UTC](https://forum.kirupa.com/t/help-with-buttons/17983/9 "2003-04-11T19:50:27Z")

</div>

ok  
if u open the library there is this MC called MP3 Player, open that MC and near the end you’ll see words move across called “flashtrak”. Thats actually the button, that keeps fugging me over. Now i want it so that when that button is clicked, the play head will skip out of the MP3 PLayer MC and go back to scene 1 and then go to frame 62. Frame 62 has Another MC called Flashtrakplayer. yeah…

---

<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 11, 2003, 7:54pm UTC](https://forum.kirupa.com/t/help-with-buttons/17983/10 "2003-04-11T19:54:44Z")

</div>

ok

on your button put this instead:

```php
on (release) {
    _root.gotoAndPlay("62");
}

```

I tested it and it works now. =)

---

<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 11, 2003, 7:58pm UTC](https://forum.kirupa.com/t/help-with-buttons/17983/11 "2003-04-11T19:58:55Z")

</div>

holy s\*\*\* thank u so much…😃

---

<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 11, 2003, 8:00pm UTC](https://forum.kirupa.com/t/help-with-buttons/17983/12 "2003-04-11T20:00:21Z")

</div>

np 🙂
