If swf loaded - play!

i have a simple slideshow in which the pictures are in different swfs that are loaded in the frames of the main swf. to play the slideshow the frames just play and then the movies are loaded in the same level.

when i test it in my computer it works perfect. the problem is when the site is online the external movies take some seconds to load and the main movie plays without pictures loaded.

how can i have a script saying:

if x.swf loaded - play

this way it wont move to the next frame until the specific movie is loaded.

thanks!!