# Text fading - Please Help

**URL:** <https://forum.kirupa.com/t/text-fading-please-help/6192>\
**Category:** flash\
**Created:** [October 1, 2002, 3:12pm UTC](https://forum.kirupa.com/t/text-fading-please-help/6192 "2002-10-01T15:12:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wankerzuk](https://avatars.discourse-cdn.com/v4/letter/w/94ad74/32.png) [@Wankerzuk](https://forum.kirupa.com/u/Wankerzuk)\
**Post date:** [October 1, 2002, 3:12pm UTC](https://forum.kirupa.com/t/text-fading-please-help/6192/1 "2002-10-01T15:12:43Z")

</div>

Hi, I’m new to flash…Please help.

I’ve been trying for ages to get get fading text.  
I can fade it in, but i want to be able to click on any other link, and the text presently displayed will fade out.

Each button on my movie links to text.

If anyone can help me get my text to fade to any other section, it would help me loads.

Wankerzuk.🙂

---

<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, 2002, 5:07pm UTC](https://forum.kirupa.com/t/text-fading-please-help/6192/2 "2002-10-01T17:07:56Z")

</div>

Create a movie clip. Give it the instance name of “fade” (without quotes)

Create your text on frame 1 of your movie clip.

Add a keyframe on frame 10 (or whatever, I will use 10 for the example)  
Add another keyframe on frame 20.

Add a stop() action on frames 10 and 20.

Create the fade in effect between 1 and 10 and the fade out effect between 10 and 20.

Your text will fade in and stop.

Now create your button you want to be pressed on the main timeline.

On your button add these actions…

```auto
on (release){
_root.fade.gotoAndPlay(11);
}

```

This will gotoAndPlay the frame that starts the fade out animation.

If you know how to use frame labels it will be easier to use them instead of going by the frame number. I won’t go into that now though. I hope this helps:)

PS: This is a very basic way of doing this, but it works:)

---

<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, 2002, 5:27pm UTC](https://forum.kirupa.com/t/text-fading-please-help/6192/3 "2002-10-01T17:27:53Z")

</div>

That helps a bit, but i want to have about 6 buttons that display different text. Once clicked, these buttons will fade out what ever text is there and fades in the new text.

Can anyone help with this?

Wankerzuk

---

<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 2, 2002, 4:41am UTC](https://forum.kirupa.com/t/text-fading-please-help/6192/4 "2002-10-02T04:41:26Z")

</div>

Here. I made you a sample 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:** [October 2, 2002, 6:10am UTC](https://forum.kirupa.com/t/text-fading-please-help/6192/5 "2002-10-02T06:10:28Z")

</div>

Thank you Andy.

Sorry Wankerzuk, I seem to have completely forgot about this thread, many apologies.
