Other setMask problems

hi ppl,

i’ve done some actionscripting and i came up with this:


col = 16;
row = 8;
total = 128
for(i=0; i<total; i++){
 xpos = (i%col)*50;
 ypos = Math.floor(i/col)*50;
 _root.attachMovie("box", "mc"+i, i);
 _root["mc"+i]._y=ypos;
 _root["mc"+i]._x=xpos;
 //_root.boe.setMask(_root["mc"+i]);
 _root["mc"+i]._alpha=5;
}
_root.b=-1;
this.onEnterFrame = function(){
 
 _root.b++;
 _root["mc"+_root.b]._alpha=10;
 _root["mc"+(_root.b-1)]._alpha=25;
 _root["mc"+(_root.b-2)]._alpha=50;
 _root["mc"+(_root.b-3)]._alpha=80;
 _root["mc"+(_root.b-4)]._alpha=100;
 if(_root.b>(total+4)){
  //_root.b=-1;
  delete this.onEnterFrame;
 }
}

just make a cube 50*50px and export it for actionscript… when you test the movie you will see a part of the screen filling with that same box… i want to use these boxes as a mask for a picture… but i can’t make it work…
this (_root.boe.setMask(_root[“mc”+i]):wink: just doesn’t fix it…

who can help me out?