found an old swf and remembered something back from flash 5 that still works in mx (after just now testing to make sure). Not many people know about it and it can make for a nice effect so I thought Id throw it out there:
[edit] added more click alpha levels (you see more masking with all the clips) and fixed a minor insignificant bug. Also included a swf in a zip so you dont have to open flash to see it if you just want to… well see it ;)[/edit]
its you = this.createEmptyMovieClip(“mover”+ ++a, a);
theres a space there. it increments the a value so it doesnt replace the depth of the last clip attached in the previous a-for loop.
Yeah, I think I might have clicked the button in MX that automatically spaces the script. I don’t remember clicking it, but i downloaded the file again, opened it up and it was fine, but then I clicked the button to see and it compresses that line, and creates that error.
But if it works the same without the ++a part, why have it? (wondering)
the variable usually being something like ‘depth’ - this just always keeps it in the next depth. And I use ++variable so I KNOW its different from whatever other movie was attached with that depth. variable++ for example would use the original depth and then increment the variable…
Another reason is that in associative referencing of the clip after creation through this method doesnt require a -1, ex:
they’re both kool, i like the fluidness of the mask overlays better though. The grit looks a little dithered at the center. makes me wanna say peace and love