Hi,

I have a container movie clip on the stage, and it loads another SWF.

What I'm trying to do while the preloading is happening, is to have a dynamic text field update itself with new text strings after every 200KB are loaded.

This is the code I wrote for the preloading:

PHP Code:
var swfLoader:Loader = new Loader();
holderMC1.addChild(swfLoader);
var 
bgURL:URLRequest = new URLRequest("main.swf");

var 
total:Number swfLoader.loaderInfo.bytesTotal;
var 
loaded:Number swfLoader.loaderInfo.bytesLoaded;

if (
loaded 200000) {
    
dynamicText.Text "Loading...";
}

if (
loaded 200000 && loaded 400000) {
    
dynamicText.text "Still Loading...";
}

swfLoader.load(bgURL); 
For some reason, the dynamic text field does not update the second time.
Any ideas why?

Thanks a lot!