PDA

View Full Version : FMX preloader for external images/swf



jagunco
July 21st, 2003, 06:09 PM
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

[m]
July 21st, 2003, 09:10 PM
It's as easy as:
procent = Path_to_theContainer.getBytesTotal() / Path_to_theContainer.getBytesLoaded() * 100;

jagunco
July 22nd, 2003, 07:35 AM
but dosen´t work