Here’s a modifcation I came up with real quick… [AS]cellSize = 2;
radius = 20;
damp = .9;
numLetter = 0;
letterSpacing = 12;
letterL = new Array(
[1, 0, 0, 0, 0],
[1, 0, 0, 0, 0],
[1, 0, 0, 0, 0],
[1, 0, 0, 0, 0],
[1, 1, 1, 1, 1]);
letterO = new Array(
[1, 1, 1, 1, 1],
[1, 0, 0, 0, 1],
[1, 0, 0, 0, 1],
[1, 0, 0, 0, 1],
[1, 1, 1, 1, 1]);
letterS = new Array(
[1, 1, 1, 1, 1],
[1, 0, 0, 0, 0],
[0, 1, 1, 1, 0],
[0, 0, 0, 0, 1],
[1, 1, 1, 1, 1]);
letterT = new Array(
[1, 1, 1, 1, 1],
[0, 0, 1, 0, 0],
[0, 0, 1, 0, 0],
[0, 0, 1, 0, 0],
[0, 0, 1, 0, 0]);
letterI = new Array(
[1, 1, 1, 1, 1],
[0, 0, 1, 0, 0],
[0, 0, 1, 0, 0],
[0, 0, 1, 0, 0],
[1, 1, 1, 1, 1]);
letterN = new Array(
[1, 0, 0, 0, 1],
[1, 1, 0, 0, 1],
[1, 0, 1, 0, 1],
[1, 0, 0, 1, 1],
[1, 0, 0, 0, 1]);
letterB = new Array(
[1, 1, 1, 1, 1],
[1, 0, 0, 0, 1],
[1, 1, 1, 1, 0],
[1, 0, 0, 0, 1],
[1, 1, 1, 1, 1]);
letterE = new Array(
[1, 1, 1, 1, 1],
[1, 0, 0, 0, 0],
[1, 1, 1, 0, 0],
[1, 0, 0, 0, 0],
[1, 1, 1, 1, 1]);
letterA = new Array(
[1, 1, 1, 1, 1],
[1, 0, 0, 0, 1],
[1, 1, 1, 1, 1],
[1, 0, 0, 0, 1],
[1, 0, 0, 0, 1]);
function containerPress() {
delete this.onPress;
for (var clip in this._parent) {
for (var clip2 in this._parent[clip]) {
this._parent[clip][clip2].explode();
}
}
}
function displayCell(letter) {
var num, i, j, mc;
clip = this.createEmptyMovieClip(“container”+numLetter, numLetter++);
clip._y = Stage.height/2;
clip._x = (numLetterletterSpacing)+(Stage.width/2.63);
clip.onPress = containerPress;
for (j=0; j<letter.length; j++) {
for (i=0; i<letter[0].length; i++) {
mc = clip.attachMovie(“cell”, “cell”+num, num);
mc.i=i, mc.j=j;
mc._x = icellSize;
mc._y = jcellSize;
num++;
myColored = new Color(mc);
letter[j] == 1 ? myColored.setRGB(0x000000) : myColored.setRGB(0xE6E6E6);
}
}
}
MovieClip.prototype.explode = function() {
this.start = getTimer();
this.vx = (Math.random()-.5)*radius;
this.vy = (Math.random()-.5)*radius;
this.onEnterFrame = function() {
this._x += this.vx;
this._y += this.vy;
this.vx *= damp;
this.vy *= damp;
if (this._alpha>0) {
this._alpha -= 5;
} else {
delete this.onEnterFrame;
this.removeMovieClip();
}
};
};
displayCell(letterL);
displayCell(letterO);
displayCell(letterS);
displayCell(letterT);
displayCell(letterI);
displayCell(letterN);
displayCell(letterB);
displayCell(letterE);
displayCell(letterT);
displayCell(letterA);
[/AS]
And thanks for clearing up that “biggy up massiv” thing, I have honestly never heard that before :x