titles array.spawnTitle() does the following:
letterFollow() from an enterFrame event.spawnTitle()'s parameters specify the behaviour of the randomation._root.attachMovie("emptyClip",
"titleEffect" + depth,
depth);
var thisEffect = _root["titleEffect" + depth];
thisEffect.yDrift = yDrift;
for (var i = 0; i < theString.length; i++) {
thisEffect.attachMovie(fontName,
"titleChar" + i,
i);
var thisLetter = thisEffect["titleChar" + i];thisLetter.charOutput = theString.charAt(i);

// Place this character clip randomly on the x axis
thisLetter._x = myRandom(xStartLeft, xStartRight);
// Place this character clip randomly on the y axis.
thisLetter._y = myRandom(yStartTop, yStartBottom);
getWordWidth() return values.
thisLetter.destinationX is set to the effect's destinationX + wordWidththisLetter.destinationY is set to the effect's destinationYdestinationX is 300, then the letters are placed as follows:a (a goes at 300 + 0) ac (c goes at 300 + 8) act (t goes at 300 + 8 + 8) acti (i goes at 300 + 8 + 8 + 5) actio (o goes at 300 + 8 + 8 + 5 + 4)
getWordWidth() is a custom function that returns the width of a word by totalling the widths of each of its letters. (we won't look at getWordWidth() in detail--check the related technote).+ myRandom (0, 10) to this line:thisLetter.destinationY = destinationY;.minSpeed and maxSpeed (pixels/second):thisLetter.speed = myRandom(minSpeed, maxSpeed);letterFollow()letterFollow() moves each letter towards its destination
letterFollow()