It’s very weird. The code works fine when test in Flash, but doesnt work when upload to web hosting.
var imageListener:Object = new Object();
imageListener.onLoadProgress = function(target_mc:MovieClip, loadedBytes:Number, totalBytes:Number){
target_mc.loading_mc.loading_txt._visible = true;
target_mc.loading_mc.loading_txt.text = this+" : "+Math.floor((loadedBytes/totalBytes)*100);
};
imageListener.onLoadInit = function(target_mc:MovieClip){
target_mc._parent._parent.loading_mc.loading_txt.text = “”;
};
imageListener.onLoadComplete = function(target_mc:MovieClip){
target_mc._parent._parent.loading_mc.loading_txt.text = “”;
var rMoveX = new Tween(target_mc, “_x”, Regular.easeInOut, target_mc , (enl_xl-target_mc._width), 2, true);
};
var myLoader:MovieClipLoader = new MovieClipLoader();
===========================
http://www.yujai.com/index64.html
Please click “painting” and then click on the thumbnail
Please help!
Thanks in advancE!