Flash Script – Shuffling Letters Effect


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.

Free book: Jump Start HTML5 Basics

Grab a free copy of one our latest ebooks! Packed with hints and tips on HTML5's most powerful new features.

No Reader comments

Comments on this post are closed.