Rand has flash question, thanks in advance if anyone has the patience to read and answer
- Started
- Last post
- 4 Responses
- ********
there are 96 jpg thumbnails I want to load from a folder called "thumbnails" before the res tof the site loads. I have a thumbnail movie on a stopped frame in the main swf with 96 frames, each with the following frame action (the "h2. jpg" obivously changes for each frame):
loadMovie("thumbnails/h2.jpg", "_root.thumbmovie.thumb");
what would I add to make the movie pause at each frame until the external jpg is loaded, then play?
- unfittoprint0
the best way is to make a symbol [thumb] that contains an empty MC [image holder, and the 'waitingMC' on top.
you could write on the thumb MC something like:
checkLoad = function(targetMC){
if(targetMC.getBytesLoaded() == targetMC.getBytesTotal() && targetMC.getBytestotal >4){
clearInterval(checkLoop);
waitingMC._visible=false;
target.useHandCursor=target.enab...
}
check = function(target){
clearInterval(checkLoad)
target.useHandCursor=target.enab...
checkLoop = setInterval(this,"checkLoad", 200, target);
}//start
check(holderMC);
- blackspade0
unfit to the rescue
u da man
- jevad0
always
- ********0
thanks unfit-- will try