type = 'application/x-shockwave-flash'
data = 'http://sitepointstatic.com/flash/shuffle.swf'
width = '400'
height = '400'
bgcolor = 'black'

Create this fantastic shuffling letter effect. It’s simple!

1. Create a text field, and give it a suitable variable name. I called mine "shuffle."

2. Convert the textfield into a movie clip.

3. Next, right click the movie clip and go to actions. Insert this action:

onClipEvent (mouseMove)  
shuffle = chr(random(25)+65);

4. Create as many duplicates of the movie clip as you’d like to be able to shuffle through.

That’s all it takes! Run the movie! And don’t forget to download the sample files here.

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

Special Offer
Free course!

Git into it! Bonus course Introduction to Git is yours when you take up a free 14 day SitePoint Premium trial.