# Glitch with loading external swf

**URL:** <https://forum.kirupa.com/t/glitch-with-loading-external-swf/229021>\
**Category:** Uncategorized\
**Created:** [June 13, 2007, 1:42pm UTC](https://forum.kirupa.com/t/glitch-with-loading-external-swf/229021 "2007-06-13T13:42:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![samcaneh](https://avatars.discourse-cdn.com/v4/letter/s/9e8a1a/32.png) [@samcaneh](https://forum.kirupa.com/u/samcaneh)\
**Post date:** [June 13, 2007, 1:42pm UTC](https://forum.kirupa.com/t/glitch-with-loading-external-swf/229021/1 "2007-06-13T13:42:19Z")

</div>

Hi,

I have about 100 pictures saved as .SWF files. I am loading the flash movie from a website, and pass a single variable from the page. This variable is the name of the only picture (swf) that I need to load and show. This works flawlessly about 90 percent of the time- the only catch is that sometimes the image doesn’t load, and I get a white screen. But if I refresh the page, the image always loads correctly. This tends to be more of a problem with IE than firefox… does anybody have any ideas?

This is how I am loading the image (imageHandler is a Loader)

var mcl:MovieClipLoader = new MovieClipLoader();  
var mclL:Object = new Object();

mcl.loadClip(“Images/” + map + “/” + \_root.imageFile + “.SWF”,imageHandler);

Thanks!  
Sam
