Hi,
[font=verdana, arial, helvetica][size=2]I am trying to preload sections of my site, apears to be working great except the percentage (pText) refuses to display and none of my traces are working, any ideas?
empty = _root.main_mc.createEmptyMovieClip(“container”, “100”)
empty._x = -250;
empty._y = -280;
my_mc = new MovieClipLoader();
preload = new Object();
my_mc.addListener(preload);
preload.onLoadStart = function(targetMC) {
trace("started loading "+targetMC);
_root.main_mc.container._alpha = 0;
pText._visible = true;
};
preload.onLoadProgress = function(targetMC, lBytes, tBytes) {
pText.text = “% “+Math.round((lBytes/tBytes)*100);
};
preload.onLoadComplete = function(targetMC) {
// maskmove
_root.main_mc.container._alpha = 100;
pText._visible = false;
trace(targetMC+” finished”);
};
var myLoad = _root.main_mc.container.loadMovie(“news.swf”);[/size][/font]