Yet another preload external swf question to add to the list!

hi, heres my description.

frame 37 i have a blank mc called instance “m_name” and this code on the mc.


onClipEvent (enterFrame) {
	if (!loaded && this._url != _root._url) {
		if (this.getBytesLoaded() == this.getBytesTotal()) {
			loaded = true;
			gotoAndStop(38);
		}
	}
}

and then on frame 38 the “m_name” mc is still there, and i have this code on a new layer.


m_name.loadMovie("home.swf");
stop();

but it’s not working. when i test it on the internet, frame 37 doesnt stop to load, it just goes straight to 38, where the “home.swf” file takes a while before it shows, as it hasnt loaded yet! :confused:

can anyone help?

thanks.