Any Help
Any help with this would be great ive wasted hours trying to correct it.
_root.main.big_mc.big_mc_image.textLoader._visible = false;
var _loc2 = _root.main.big_mc.big_mc_image.createEmptyMovieCli p("container", "100");
_loc2._x = 0 ;
_loc2._y = 0;
_root.main.big_mc.big_mc_image.my_mc = new MovieClipLoader();
preload = new Object();
_root.main.big_mc.big_mc_image.my_mc.addListener(p reload);
preload.onLoadStart = function (targetMC)
{
_root.main.big_mc.big_mc_image.container._alpha = 0;
_root.main.big_mc.big_mc_image.textLoader._visible = true;
};
preload.onLoadProgress = function (targetMC, lBytes, tBytes)
{
percentage = int(lBytes / tBytes * 100);
_root.main.big_mc.big_mc_image.textLoader.loader.g otoAndStop(percentage);
_root.main.big_mc.big_mc_image.textLoader.loader.a utoSize = true;
_root.main.big_mc.big_mc_image.textLoader.loader.t ext = Math.round(lBytes / tBytes * 100);
};
preload.onLoadComplete = function (targetMC)
{
changeColor();
_root.main.big_mc.big_mc_image.container._alpha = 100;
_root.main.big_mc.big_mc_image.textLoader._visible = false;
};
_root.main.big_mc.big_mc_image.my_mc.loadClip(theP icPath, "_root.main.big_mc.big_mc_image.container");
I tried using this code in a few different ways but as soon as i change the preload.onLoadStart everything gets messed up.
_root.createEmptyMovieClip("imagecontainer", _root.imagecontainer.getNextHighestDepth());
var mclListener:Object = new Object();
mclListener.onLoadInit = function(mc:MovieClip) {//is now loaded and initialized in flash,- ready to center
mc._x = Stage.width/2 - mc._width/2;
mc._y = Stage.height/2 - mc._height/2;
}
var image_mcl:MovieClipLoader = new MovieClipLoader();
image_mcl.addListener(mclListener);
image_mcl.loadClip("image18.jpg", imagecontainer);
I just need to find a way to divide this by 2
_root.main.big_mc.big_mc_image.container.
nothing is working
|