Hi,
I have built a simple site where the logo at the top of the page has been constructed as a masked grid, the idea being that the logo is revealed as each cell in the logo has it’s color changed.
The color is changed via a tween in each individual cell & I originally triggered this to happen with the following “onEnterFrame” script (newHold_array[k] being the array that holds the clips);
[AS]k = 0;
_root.onEnterFrame = function() {
thisOne = newHold_array[k];
this.holdit_mc.nhold_mc[thisOne].play();
k++;
if (k>=353) {
break;
}
};[/AS]
The above code works fine but I wanted to speed up the rate of change so put a similar function in to a “setInterval” fired script
[AS]function lightUp(){
thisOne = newHold_array[k];
trace(thisOne);
this.holdit_mc.nhold_mc[thisOne].play();
k++;
if (k>=353) {
clearInterval(lightInt)
}
}[/AS]
which although firing ok & able to trace out the correct cell with “trace(thisOne);” will not get the correct or any cell to play?
Fla attached.