# Animate Dynamic Text

**URL:** https://forum.kirupa.com/t/animate-dynamic-text/188631
**Category:** flash
**Created:** [May 9, 2006, 4:28pm UTC](https://forum.kirupa.com/t/animate-dynamic-text/188631 "2006-05-09T16:28:31Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![birenpatel](https://avatars.discourse-cdn.com/v4/letter/b/e0b2c6/32.png) [@birenpatel](https://forum.kirupa.com/u/birenpatel)
#### Post date: [May 9, 2006, 4:28pm UTC](https://forum.kirupa.com/t/animate-dynamic-text/188631/1 "2006-05-09T16:28:31Z")

</div>

Hello Everyone,

I’m trying to create a RANDOM Quote generator. I got the following script from [Kirupa.com](http://Kirupa.com)

[COLOR=red]ranQuote = new LoadVars();  
ranQuote.onLoad = function(success) {  
if (success) {  
RanNum = Math.ceil(Math.random()\*5);  
ran = this[“quote”+RanNum];  
quote\_txt.text = ran;  
}  
else {  
quote\_txt.text = “The text failed to load due to an error”;  
}  
}  
ranQuote.load(“Quotes.txt”);[/COLOR]

and i modified to the way i want. Now what i’m trying to do is put this “[COLOR=red]quote\_txt.text[/COLOR]” into a movie clip so that I can animate it fading in, but for somereason the MOVIE CLIP does not seem to animate anything with DYNAMIC text. So how can i accomplish this? Any help will be greatly appreciated. Thank you.
