# Why doesn't my preloader like loading external images?

**URL:** <https://forum.kirupa.com/t/why-doesnt-my-preloader-like-loading-external-images/197180>\
**Category:** Uncategorized\
**Created:** [August 14, 2006, 2:51pm UTC](https://forum.kirupa.com/t/why-doesnt-my-preloader-like-loading-external-images/197180 "2006-08-14T14:51:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kasha](https://avatars.discourse-cdn.com/v4/letter/k/ba9def/32.png) [@kasha](https://forum.kirupa.com/u/kasha)\
**Post date:** [August 14, 2006, 2:51pm UTC](https://forum.kirupa.com/t/why-doesnt-my-preloader-like-loading-external-images/197180/1 "2006-08-14T14:51:04Z")

</div>

Hi, I’m using an internal preloader with the following script:

myLoaded = Math.round(getBytesLoaded());  
myTotal = Math.round(getBytesTotal());  
myPercent = myLoaded/myTotal;  
myBar.\_width = myPercent_150;  
myText = Math.round(myPercent_100)+"%";  
if (myLoaded == myTotal) {  
gotoAndStop(3);  
} else {  
gotoAndPlay(1);  
}

which works delightfully with all my swf’s - except for those that have to load external images? why is that, and do I have to add an extra line of code in there somewhere?
