How to tell if a jpg is done loading into mc

I am loading jpg’s into my flash move with loadMovie, but I want to have the jpg appear with a transition but can’t figure out how to tell when the loading is done to trigger my transition.

Basicly:if jpg == loaded goto transition