Help with depth stuff (NEEDED BADLY)

oh and I’m working on another project here:

and the problem (as many of you probably noticed) is that when the code generates a random distance for the teletubbies I get the smallest ones in front sometimes. I thought this code:

_root[“teletubby”+i].Depth =

would solve the problem but it does not. Does anybody have any suggestions? thanks for the help!