# FMX preloader for external images/swf

**URL:** https://forum.kirupa.com/t/fmx-preloader-for-external-images-swf/26309
**Category:** flash
**Created:** [July 21, 2003, 10:09pm UTC](https://forum.kirupa.com/t/fmx-preloader-for-external-images-swf/26309 "2003-07-21T22:09:22Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jagunco](https://avatars.discourse-cdn.com/v4/letter/j/67e7ee/32.png) [@jagunco](https://forum.kirupa.com/u/jagunco)
#### Post date: [July 21, 2003, 10:09pm UTC](https://forum.kirupa.com/t/fmx-preloader-for-external-images-swf/26309/1 "2003-07-21T22:09:22Z")

</div>

hi can someone look at my code, and point me to the right direction, i´m trying to have a dynamic creation of button that load external images an d swf and esternal text description, i´m some code and trying to improve it, my problem is the creation of the preloader to load the external images/swfs to the container, i know i can put a ppreloader for every swf, but for images no, i want a preloader for the container were the movies and images are loaded.

can someone help me please

jagunco BOT

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 22, 2003, 1:10am UTC](https://forum.kirupa.com/t/fmx-preloader-for-external-images-swf/26309/2 "2003-07-22T01:10:17Z")

</div>

It’s as easy as:

```auto
procent = Path_to_theContainer.getBytesTotal() / Path_to_theContainer.getBytesLoaded() * 100;

```

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 22, 2003, 11:35am UTC](https://forum.kirupa.com/t/fmx-preloader-for-external-images-swf/26309/3 "2003-07-22T11:35:30Z")

</div>

but dosen´t work
