# MovieClipButtons

**URL:** https://forum.kirupa.com/t/movieclipbuttons/65525
**Category:** flash
**Created:** [September 27, 2004, 12:25pm UTC](https://forum.kirupa.com/t/movieclipbuttons/65525 "2004-09-27T12:25:30Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![sebjo](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@sebjo](https://forum.kirupa.com/u/sebjo)
#### Post date: [September 27, 2004, 12:25pm UTC](https://forum.kirupa.com/t/movieclipbuttons/65525/1 "2004-09-27T12:25:30Z")

</div>

Looking for tuts and info on movieClipButtons. I need to create a movie clip button that has a state showing that it has been pressed, so that user knows which links he has already visited. Possibly I would also like another state that plays an animation of the button the first time it appears (not first time it is pressed) meaning that the animation plays when the page builds up. Thats just minor though.

ThanksInAdvance

SEb :mu:

---

<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 29, 2004, 2:19am UTC](https://forum.kirupa.com/t/movieclipbuttons/65525/2 "2004-09-29T02:19:57Z")

</div>

is this kinda what you wanted?  
[http://m.1asphost.com/Krusader/Untitled-2.swf](http://m.1asphost.com/Krusader/Untitled-2.swf)  
[http://m.1asphost.com/Krusader/Untitled-2.fla](http://m.1asphost.com/Krusader/Untitled-2.fla)

---

<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 29, 2004, 3:41pm UTC](https://forum.kirupa.com/t/movieclipbuttons/65525/3 "2004-09-29T15:41:15Z")

</div>

well, no.  
I’m not sure if I can explain what I’m looking for much better than above.  
Please help.

Seb

---

<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 29, 2004, 3:53pm UTC](https://forum.kirupa.com/t/movieclipbuttons/65525/4 "2004-09-29T15:53:26Z")

</div>

The only way you’re going to get buttons to do those things are to use variables. You can’t (at least i don’t know of a way) to make buttons, on their own, do what you’re saying. I’ve used variables to leave buttons ‘on’ while a page is loaded. For example, when a page loads, you have it set a root variable to ‘true’, which tells the button, as long as that page is loaded, to stay lit.

When i say buttons, i mean movie clips that being used as buttons.

---

<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 29, 2004, 7:19pm UTC](https://forum.kirupa.com/t/movieclipbuttons/65525/5 "2004-09-29T19:19:01Z")

</div>

What about using movie clip buttons instead of adding movie clips into the buttons. I have read that you can do this with movie clip buttons , but can’t remember where.

SEb

---

<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 29, 2004, 9:01pm UTC](https://forum.kirupa.com/t/movieclipbuttons/65525/6 "2004-09-29T21:01:35Z")

</div>

Hey Seb, i’ll post an example .fla hope it helps. By the way, ich liebe Deutschland!

---

<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 30, 2004, 7:48am UTC](https://forum.kirupa.com/t/movieclipbuttons/65525/7 "2004-09-30T07:48:12Z")

</div>

ALAN, I feel kind of stupid mentioning this, considering the fact that this is the mx04 forum, but I have not managed to get together the cash for an upgrade. Would be greatful if you could save example out as mx.

Gruss  
SEb

---

<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 30, 2004, 8:32am UTC](https://forum.kirupa.com/t/movieclipbuttons/65525/8 "2004-09-30T08:32:16Z")

</div>

hé, here’s your file

---

<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 30, 2004, 9:38am UTC](https://forum.kirupa.com/t/movieclipbuttons/65525/9 "2004-09-30T09:38:32Z")

</div>

Ubik

Slight misunderstanding

What I mean is that the button remains in the pressed state. For example on many html linklists once you press a link it turns (and remains) red to give the user feedback to which links he has already visited. Thats the sort of thing I need.  
+++

Thanks

SEb

---

<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 30, 2004, 9:49am UTC](https://forum.kirupa.com/t/movieclipbuttons/65525/10 "2004-09-30T09:49:51Z")

</div>

simple as that! hey we’ve got the same 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: [September 30, 2004, 12:09pm UTC](https://forum.kirupa.com/t/movieclipbuttons/65525/11 "2004-09-30T12:09:28Z")

</div>

Hey Seb, sorry about that… well it looks like Ubik solved your problem but here’s an MX version of the example file i made anyway.

---

<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 30, 2004, 1:42pm UTC](https://forum.kirupa.com/t/movieclipbuttons/65525/12 "2004-09-30T13:42:52Z")

</div>

Thanks Ubik that works out great! Would this also work if you wanted the mc button to have animated states?  
+++SEb

---

<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 30, 2004, 1:44pm UTC](https://forum.kirupa.com/t/movieclipbuttons/65525/13 "2004-09-30T13:44:14Z")

</div>

Yes, for sure

---

<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 30, 2004, 1:52pm UTC](https://forum.kirupa.com/t/movieclipbuttons/65525/14 "2004-09-30T13:52:00Z")

</div>

Here you go, a quick example

---

<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 30, 2004, 4:54pm UTC](https://forum.kirupa.com/t/movieclipbuttons/65525/15 "2004-09-30T16:54:20Z")

</div>

I really meant animation on button states (mouse over etc.)

SEb

---

<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 30, 2004, 5:30pm UTC](https://forum.kirupa.com/t/movieclipbuttons/65525/16 "2004-09-30T17:30:35Z")

</div>

The example that i uploaded does that, if you want the buttons to stay on (like links as you said) then just take out the lines of code in the ‘pages’ movie clip that are turning them on and off. That way they’ll stay on always after you’ve clicked them. The file hasn’t had any views so i’m assuming you haven’t looked at 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: [September 30, 2004, 5:35pm UTC](https://forum.kirupa.com/t/movieclipbuttons/65525/17 "2004-09-30T17:35:45Z")

</div>

Here ya go, made those changes.

---

<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 30, 2004, 7:26pm UTC](https://forum.kirupa.com/t/movieclipbuttons/65525/18 "2004-09-30T19:26:09Z")

</div>

neat Therealalan. what if you want that but also have the button to change another colour if it is clicked on

---

<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: [October 1, 2004, 11:24am UTC](https://forum.kirupa.com/t/movieclipbuttons/65525/19 "2004-10-01T11:24:05Z")

</div>

Hey Alan,  
the first example is sweet! Still having probs with the latest one (assuming that it’s the versions again)  
+++  
SEb

---

<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: [October 1, 2004, 1:26pm UTC](https://forum.kirupa.com/t/movieclipbuttons/65525/20 "2004-10-01T13:26:02Z")

</div>

hmm, that’s funny, i saved it down, but i have the same problems though, i have MX 2004 here at work but only MX at home, and taking experiments home is a pain. I’ll try this one more time, hope it works.
