Conditional function

Hi, I am confused,

How would I write a function to make flash wait until a process is true before it can carry on. I know of if…else and switch but what other options do I have here??

The process would be like this:

If movieclip is at coordinates 0,0
then load into it
then move it down
otherwise move it up to 0,0
and then load into it

Any ideas? Thanks.

you would use if statements to check where the movieclip is.

//do this... (load movie)
//do this.. (move up)

this might help (if it doesnt confuse heh)