# Movie clip or button - what the hell?

**URL:** <https://forum.kirupa.com/t/movie-clip-or-button-what-the-hell/5982>\
**Category:** Uncategorized\
**Created:** [September 26, 2002, 10:38pm UTC](https://forum.kirupa.com/t/movie-clip-or-button-what-the-hell/5982 "2002-09-26T22:38:11Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![noelle88](https://avatars.discourse-cdn.com/v4/letter/n/b77776/32.png) [@noelle88](https://forum.kirupa.com/u/noelle88)\
**Post date:** [September 26, 2002, 10:38pm UTC](https://forum.kirupa.com/t/movie-clip-or-button-what-the-hell/5982/1 "2002-09-26T22:38:11Z")

</div>

I am creating a navigation that has buttons that move-- I created them as movie clips so I could do this

onClipEvent (load) {  
goal = 277.2;  
}  
onClipEvent (enterFrame) {  
\_y += (goal-\_y)/2;  
}

to get the movement to appear to slow down as they reach their destination.

I need the button to click and jump to a frame of the scene… The instance in the movie clip is a button, on which I put action

on (release) {  
gotoAndPlay(“nav\_expand”);  
}

but it won’t do anything!! I can’t seem to get a button to act like a movie or to get a movie to act like a button - can anyone help???

---

<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:** [September 26, 2002, 11:03pm UTC](https://forum.kirupa.com/t/movie-clip-or-button-what-the-hell/5982/2 "2002-09-26T23:03:02Z")

</div>

have you tried:

```php

on (release) {
    _root.gotoAndPlay("nav_expand");
}

```

---

<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:** [September 26, 2002, 11:09pm UTC](https://forum.kirupa.com/t/movie-clip-or-button-what-the-hell/5982/3 "2002-09-26T23:09:09Z")

</div>

☹ no it’s not working…

---

<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:** [September 26, 2002, 11:24pm UTC](https://forum.kirupa.com/t/movie-clip-or-button-what-the-hell/5982/4 "2002-09-26T23:24:01Z")

</div>

hmm… actually, you’re right… it’s looking for ‘nav\_expand’ on the same movie clip it resides in…

---

<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:** [September 26, 2002, 11:44pm UTC](https://forum.kirupa.com/t/movie-clip-or-button-what-the-hell/5982/5 "2002-09-26T23:44:24Z")

</div>

so is it working now?.. it should…

you have a button… which is in a MC and the MC is on the main stage… the button is telling the main timeline to jump to the named frame lable… if this is how you have it set up, I see no reason why it shouldnt work. Good Luck - any more questions post here.

Peace

---

<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:** [September 26, 2002, 11:51pm UTC](https://forum.kirupa.com/t/movie-clip-or-button-what-the-hell/5982/6 "2002-09-26T23:51:24Z")

</div>

Yeah - that was the problem – I actually have a container movie pulling in another swf… so I used:

on (release) {  
\_level0.nav\_holder.gotoAndPlay(“nav\_expand”);  
}

duh! Thanks for your help!

---

<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:** [September 26, 2002, 11:53pm UTC](https://forum.kirupa.com/t/movie-clip-or-button-what-the-hell/5982/7 "2002-09-26T23:53:17Z")

</div>

no prob :cowboy:

Peace

---

<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:** [September 26, 2002, 11:57pm UTC](https://forum.kirupa.com/t/movie-clip-or-button-what-the-hell/5982/8 "2002-09-26T23:57:45Z")

</div>

heh, i see my smilies are being used…

…eeexcellent… :+)

---

<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:** [September 27, 2002, 12:00am UTC](https://forum.kirupa.com/t/movie-clip-or-button-what-the-hell/5982/9 "2002-09-27T00:00:10Z")

</div>

heck yeah… I love 'em… it was such an awesome idea to make more of 'em… … I think I have a few ideas too heehee:crazy:

---

<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:** [September 27, 2002, 12:05am UTC](https://forum.kirupa.com/t/movie-clip-or-button-what-the-hell/5982/10 "2002-09-27T00:05:54Z")

</div>

well if ya don’t have the time right now, I can make some more! 🙂

Just fire away…

(within reason that is… Don’t ask for a smilie that resembles george bush for example… i have 18x18 px’s to mutter around in… _lol_)

---

<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:** [September 27, 2002, 12:16am UTC](https://forum.kirupa.com/t/movie-clip-or-button-what-the-hell/5982/11 "2002-09-27T00:16:26Z")

</div>

I was going for the mona lisa…:goatee:

---

<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:** [September 27, 2002, 12:20am UTC](https://forum.kirupa.com/t/movie-clip-or-button-what-the-hell/5982/12 "2002-09-27T00:20:22Z")

</div>

You were NOT! :crazy:
