Sizing a Loaded Movie
Sizing a Loaded Movie
Out of context: Reply #1
- Started
- Last post
- 5 Responses
- unfittoprint0
//load check
checkLoad=function(targetMC, targetWidth, targetHeight){
if(targetMC.getBytesLoaded == targetMc.getBytesTotal() && targetMC.getbytesTotal()>4){
clearinterval(checkLooo)
targetMC._width = targetWidth;
targetMC._height=targetheight;
}
}//start
myMC.loadMovie("movie.swf");checkLoop = setInterval(this, "checkLoad", 30, myMC, 500, 400)