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

**URL:** https://forum.kirupa.com/t/yet-another-preload-external-swf-question-to-add-to-the-list/98741
**Category:** Uncategorized
**Created:** [January 10, 2004, 12:43pm UTC](https://forum.kirupa.com/t/yet-another-preload-external-swf-question-to-add-to-the-list/98741 "2004-01-10T12:43:41Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![cartoonfox](https://avatars.discourse-cdn.com/v4/letter/c/bb73d2/32.png) [@cartoonfox](https://forum.kirupa.com/u/cartoonfox)
#### Post date: [January 10, 2004, 12:43pm UTC](https://forum.kirupa.com/t/yet-another-preload-external-swf-question-to-add-to-the-list/98741/1 "2004-01-10T12:43:41Z")

</div>

hi, heres my description.

**frame 37** i have a blank mc called instance “m\_name” and this code on the mc.

```auto

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.

```auto

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! 😕

can anyone help?

thanks.
