Waiting for a clip to load before calling a function

Is something wrong with this code? I am trying to tell Flash to wait to call generateEventClips() until timeline_events.swf has been fully loaded into events_mc. But I don’t think it is doing so, because the clips that the function is supposed to generate don’t appear unless i call the function at least two frames later.

var events_mc = new MovieClipLoader();
events_mc.addListener();
events_mc.loadMovie(“timeline_events.swf”);
events_mc.onLoadComplete = generateEventClips();