Thanks Chris, good to know.
So there's no good Flash 6 solution?



Yeah, this is a problem in flash. A better loading method is to use the
MovieClipLoader class:

var mcl = new MovieClipLoader();

mcl.loadClip("movie.swf",_root.clipToLoadIn);
mcl.addListener(this);

onLoadProgress = function(target_mc:MovieClip, bytesLoaded:Number, bytesTotal:Number) {
        trace("loaded="+bytesLoaded+", total="+bytesTotal);

};




David Cohn wrote:

Hey all,

After using loadMovie on a blank movieclip, I do:

onClipEvent(data) {
    trace("loaded="+this._framesloaded+", total="+this._totalframes);
}

...which always gives:
    loaded=16000, total=65535
(both values should be way smaller)

Yet _currentframe reports the correct value... is there something I'm
missing?

Thanks in advance,
--Dave


p.s. is there a way to search the flashcoders archives?

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to