# Intro / outro?

**URL:** <https://forum.kirupa.com/t/intro-outro/11214>\
**Category:** Uncategorized\
**Created:** [January 14, 2003, 5:43am UTC](https://forum.kirupa.com/t/intro-outro/11214 "2003-01-14T05:43:30Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![LoungeActx](https://avatars.discourse-cdn.com/v4/letter/l/71c47a/32.png) [@LoungeActx](https://forum.kirupa.com/u/LoungeActx)\
**Post date:** [January 14, 2003, 5:43am UTC](https://forum.kirupa.com/t/intro-outro/11214/1 "2003-01-14T05:43:30Z")

</div>

I was wondering if you could help me out with :

on (press) {  
\_root.fade.gotoAndPlay(1)  
}

I am using this to load a movieclip on the press of the button. I can get the movieclip to fade in. But my question is how would I go about making it fade out. When either the button is pressed again, or another button on the menu is pressed?

I made my tween to fade it in and out. I have a stop on the first frame, and it stops again right before it fades out. I just need help with the actionscript part.

---

<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:** [January 14, 2003, 6:33am UTC](https://forum.kirupa.com/t/intro-outro/11214/2 "2003-01-14T06:33:13Z")

</div>

download the .fla partner…  
otherwise we don’t have a clue what you are asking!

By the way,  
The bucs are going toBeat the igles!

---

<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:** [January 14, 2003, 6:52am UTC](https://forum.kirupa.com/t/intro-outro/11214/3 "2003-01-14T06:52:58Z")

</div>

I do think he means ‘upload’ your .fla

Don’t download one… because we haven’t offered you one!

---

<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:** [January 14, 2003, 4:33pm UTC](https://forum.kirupa.com/t/intro-outro/11214/4 "2003-01-14T16:33:37Z")

</div>

umm…the .fla won’t help you because it doesn’t work.

So i’ll try to explain it better:

Press a button, a movie clip fades into the center of the stage.

When you press the button again it fades out.

How would I go about doing that?

---

<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:** [January 14, 2003, 4:42pm UTC](https://forum.kirupa.com/t/intro-outro/11214/5 "2003-01-14T16:42:12Z")

</div>

put a stop on the first frame of the movie, and a stop in the middle where it is faded in. After that have it fade back out. then instead of gotoAndPlay(); just use play();

---

<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:** [January 14, 2003, 4:51pm UTC](https://forum.kirupa.com/t/intro-outro/11214/6 "2003-01-14T16:51:38Z")

</div>

So do this?

on (press) {  
\_root.fade.gotoAndPlay(1);  
play();

}

That won’t work…

---

<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:** [January 14, 2003, 4:53pm UTC](https://forum.kirupa.com/t/intro-outro/11214/7 "2003-01-14T16:53:32Z")

</div>

no, just do this

on (press) {  
\_root.fade.play();  
}

---

<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:** [January 14, 2003, 5:09pm UTC](https://forum.kirupa.com/t/intro-outro/11214/8 "2003-01-14T17:09:21Z")

</div>

ok…i gotcha

---

<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:** [January 14, 2003, 5:16pm UTC](https://forum.kirupa.com/t/intro-outro/11214/9 "2003-01-14T17:16:46Z")

</div>

thanks it works great!
