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
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
--
_________________________________________
< __ __ ____ >
< | | \/ ___\ Chris Hill >
< | | / /_/ > [EMAIL PROTECTED] >
< |____/\___ / http://ubergeek.tv >
< /_____/ The Smell of Geek! >
<----------------------------------------->
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders