shrek
01-11-2002, 12:14 AM
Here is the problem:
I have a main movie that I am loading external .swf files into with preloaders in the external .swf's. I am loading these swf's into a empty movie clip in the main movie.
my preloader isnt working correctly on the external swfs and I think it is because of the way I am targeting the
getbytesloaded. here is the code...I am not sure about the
_level0 part.
bytesLoaded=_level0.getBytesLoaded();
totalbytes=_level0.getBytesTotal();
percentLoaded=Math.round(bytesLoaded/totalbytes)*100);
bar._xscale=percentLoaded;
is the _level0 referring to the main swf that I am loading into?
Thanks for the help.
Todd
I have a main movie that I am loading external .swf files into with preloaders in the external .swf's. I am loading these swf's into a empty movie clip in the main movie.
my preloader isnt working correctly on the external swfs and I think it is because of the way I am targeting the
getbytesloaded. here is the code...I am not sure about the
_level0 part.
bytesLoaded=_level0.getBytesLoaded();
totalbytes=_level0.getBytesTotal();
percentLoaded=Math.round(bytesLoaded/totalbytes)*100);
bar._xscale=percentLoaded;
is the _level0 referring to the main swf that I am loading into?
Thanks for the help.
Todd