Web
Article

Flash Script – Random Text Letter Effect

By Georgina Laidlaw


Building this effect is simple! Download the sample files here.

1. First, create a text field. In this case, I gave it a variable name of "shuffle".

2. Convert the textfield to a movie clip, and name it "Random".

3. Right click the movie clip and go to its actions. Insert the following code:

onClipEvent (enterFrame)  
{
shuffle = chr(random(25)+65);
}

4. Create duplicates of the movie clip.

That’s it! Run the movie, and you’ll see the effect above.

Meet the author
Georgina has more than fifteen years' experience writing and editing for web, print and voice. With a background in marketing and a passion for words, the time Georgina spent with companies like Sausage Software and sitepoint.com cemented her lasting interest in the media, persuasion, and communications culture.

No Reader comments

Recommended

Learn Coding Online
Learn Web Development

Start learning web development and design for free with SitePoint Premium!

Get the latest in Front-end, once a week, for free.