Help needed with code!


I’m trying to create an effect which is combination of two effects explained in two tutorials on Kirupa website namely

  1. Random Letter Cycling Effect:

  2. Action Script Text Animation:

Link to my fla in which i’ve tried to combine the two effects:

The Text Animation part is working fine. but the random letter cycling part is not working fine.
i’m not able to recall the corresponding Ist letter of the word i want. In current example the text is “Ritesh”.

I’m stuck/confused in the code and not able to make my way through it.
Thats the reason i’m writing on this forum.
Please help me in solving this problem, I’ll appreciate all your help.

I look forward to hear from some of you guys soon.