# Loading external images

**URL:** https://forum.kirupa.com/t/loading-external-images/181612
**Category:** Uncategorized
**Created:** [March 10, 2006, 9:14pm UTC](https://forum.kirupa.com/t/loading-external-images/181612 "2006-03-10T21:14:20Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![alexandrewl](https://avatars.discourse-cdn.com/v4/letter/a/7ea924/32.png) [@alexandrewl](https://forum.kirupa.com/u/alexandrewl)
#### Post date: [March 10, 2006, 9:14pm UTC](https://forum.kirupa.com/t/loading-external-images/181612/1 "2006-03-10T21:14:20Z")

</div>

Hi!

I am having problems making a preloader, cause my images are external and they are not detected by my common preloader command.

let me explain better… I open the images by using:

loadMovie(“fundo1024.jpg”,“fundo\_mc”);

and my preloader is like:

bytes\_loaded = Math.round(this.getBytesLoaded());  
bytes\_total = Math.round(this.getBytesTotal());  
getPercent = bytes\_loaded/bytes\_total;  
this.caixa2.loadBar.\_width = getPercent_128;  
this.caixa2.loadText = Math.round(getPercent_100)+"%";  
if (bytes\_loaded == bytes\_total) {  
this.gotoAndPlay(3);  
}

The question is: How can I load these images with the rest of the document, so it can be read too by the preloader?

Very thanks

Alexandre
