Hi,
Was wondering if someone could help me in getting some kind of preloader to display when I call an image from an xml file into an empty movie clip, please?
I have this piece of code in my actionscript on the first frame of my movie,(amongst other code), which i think has something to do with it.
bitlistener.onLoadProgress = function(target:MovieClip, bytesLoaded:Number, bytesTotal:Number):Void {
amountLoaded = Math.floor((bytesLoaded/bytesTotal)*100);
};
on the second frame i call the image/xml:
backImage.load("xml/home.xml");
how would i add a something that displays the loading progress of the image being loaded from the xml?
full code available here. http://www.blog.noponies.com/archives/3
many many thanks.