# Random Text displaying/fading

**URL:** <https://forum.kirupa.com/t/random-text-displaying-fading/228621>\
**Category:** flash\
**Created:** [June 9, 2007, 6:05pm UTC](https://forum.kirupa.com/t/random-text-displaying-fading/228621 "2007-06-09T18:05:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![TonyRad](https://avatars.discourse-cdn.com/v4/letter/t/ac91a4/32.png) [@TonyRad](https://forum.kirupa.com/u/TonyRad)\
**Post date:** [June 9, 2007, 6:05pm UTC](https://forum.kirupa.com/t/random-text-displaying-fading/228621/1 "2007-06-09T18:05:59Z")

</div>

I’m having an issue trying to get my random text to fade in and out how I want it to. Basically I have 10 rotating images as the background, they fade in for 2 seconds, stay solid for 4, then crossfade for 2 seconds to the next image. The text is supposed to fade in for 1 second, stay solid for 2, then fade out for 1, while the image is in it’s solid state for 4 seconds. The text is supposed to be random as well, from a list of about 10 phrases.

I followed the tut on this site and as far as getting the random quotes to display it works great. I’m using an external file and I set keyframes to call the function when a new one needs to display.

The catch I’m running into is this:

As a dynamic text box I can’t (or at least if I can I don’t know how to) make it fade in and out. If I convert it to a symbol I can tell flash to make it fade in and out, but the dynamic text isn’t read from the file then.

Any help would be great on this. I really need to work to get this finished soon. Oh, and as far as the dynamic text file, that is not important. The only important thing is that I get the text to fade in and out at the right times and that the quotes are randomized…

Thanks!  
Tony Rad
