i nwas just playing around with the fading grid effect when i somehow made the thing have a memory.
First thing i did was of course create a grid covering the whole stage but instead of running the fade function from the timeline i placed a rollover function on the original square
(oh by the way the grid occurs within a movie clip called mbox)
within mbox that would decrease its alpha by 50 per frame
however after a while the boxes that faded start reappearing in the same order as they originally appeared
maybe my Flash is messed or my computer (i doubt) or i did a cool effect by mistake
anyway i am attaching the .fla for u to see whats wrong(or rather whats right) with it its called memory.fla
any help is appreciated coz i would like to repeat this again
the commenting on the script isnt too good, sorry!!
Well, this is whats happening, you are assigning an onEnterFrame event to the box like this
_root.mbox["box"+mcnr].onEnterFrame = function() {
_root.mbox.box._alpha -= speed*2
_root.mbox["box"+mcnr]._alpha -= speed;
if (_root.mbox["box"+mcnr]._alpha<=smoothness) {
_root.mbox["box"+mcnr].onEnterFrame = null;
continueFade(_root.mbox["box"+mcnr], speed);
mcnr += 1;
fadeOut(mcnr, speed);
}
and it just keeps subtracting the alpha until you go over the minimum alpha, and then the box pops back into visablity. I would check your code for removing the onEnterFrame event or something.
that worked though i think i am not going to change it
thnx alot