Help with conditional statement syntax

hey peeps, can somebody help me write this into a conditional statement?

if all the frames in a movieclip called boximage have played, load these movies into these levels, otherwise wait until all the frames in the movieclip called boximage have loaded.

somebody please?