Hi All,
a while ago I experimented with arrays and writing. Th fx was similar to using a FlashFont…but not as crisp. Does anyone know how to correct that problem.
The code started like this…
–
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],
–
and later
function displayCell(letter) {
var num, i, j, mc;
clip = this.createEmptyMovieClip(“container”+numLetter, numLetter++);
clip._y = Stage.height/2;
clip._x = (numLetter*letterSpacing)+(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 = i*cellSize;
mc._y = j*cellSize;
num++;
myColored = new Color(mc);
letter[j]* == 1 ? myColored.setRGB(0x000000) : myColored.setRGB(0xffffff); //myColored.setRGB(0xE6E6E6);
//letter[j]* == 1 ? myColored.setRGB(0x000000) : myColored.setRGB(0xE6E6E6);
// Rollover sound
clip.onRollOver = containerHover;
}
}