im new here and have spent all day searching the forums for the answer. ive not really found anything mentioning the same problem im having.
doing this little site. loading in jpgs. works fine in the application but when i view it in a browser the imgs dont seem to be loading all of a sudden.
the actionscript seems to be working because the other things that are supposed to happen, are except the img not showing up.
ive tried saving the files as progressive and not. tried the kirupa tutorial file and got the same problem.
this is what im using to load the imgs into a container…
var mcLoader:MovieClipLoader = new MovieClipLoader();
var listener:Object = new Object();
listener.onLoadProgress = function(target:MovieClip, bytesLoaded:Number, bytesTotal:Number):Void {
loadClip._visible=1
loadClip._xscale=Math.round((bytesLoaded/bytesTotal)*100)
}
listener.onLoadInit = function(target:MovieClip):Void {
loadClip._visible=0
imgHold.iHold._x=-(imgHold.iHold._width/2)
imgHold.iHold._y=-(imgHold.iHold._height/2)
var iCover:Tween = new Tween(imgCover, "_alpha", easeOut, imgCover._alpha, 0, .5, true);
}
mcLoader.addListener(listener);
mcLoader.loadClip(iSect+"/"+iSect+iMode+iCurr+".jpg", imgHold.iHold);
_global.iCovOn=function() {
var iCover:Tween = new Tween(imgCover, "_alpha", easeOut, imgCover._alpha, 100, .5, true);
trace(imgCover._alpha)
iCover.onMotionFinished = function () {
mcLoader.loadClip(iSect+"/"+iSect+iMode+iCurr+".jpg", imgHold.iHold);
_root.currNum=_global.iCurrNum+" / "+_global.iSectNum
_root[_global.iCurr].gotoAndStop(3)
}
}
if anyone can help i can send a link or files or whatever.
i cant seem to find anything or anyone thats having the same issue but everybody seems to have the same solution for jpgs not loading right.
its prolly something stupid im missing and just dont know enough about what to even search for.
please anyone, help!?