I want three movie clips with variable Z in them to change depths according to their Z value.
IOW: the one with the highest z would go in front, lowest would go behind them.
How do I do this?
I tried that way and it seems to not work too well. The clips kept flashing. I suppose I could've make it set a variable right after the swap so that it doesn't swap back but I only thought of that after I tried this:
I actually considered writing that nearly exact same script. Unfortunately I realised that my movie clips were all differently named.
I'd have to make 'i' detect a variable in an array to be the name of the next clip to be tested and it would get too confusing and complicated lol
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.