dafnabru
07-18-2003, 09:17 AM
Please help me!
I made a preloader from a tutorial and now that I uploaded my website I see that it does'nt work. The flash window opens white for some seconds until the movie is loaded.
The action script I used is:
First frame:
percent = Math.floor(getBytesLoaded()/getBytesTotal()*100);
myOutput.text = percent + "% is loaded";
second frame:
if (percent == 100){
gotoAndStop(3);
}else{
gotoAndPlay(1);
}
in both frames there is an empty imput text. The movie starts in the third frame.
Thank you in advance, I hope someone can help me
I made a preloader from a tutorial and now that I uploaded my website I see that it does'nt work. The flash window opens white for some seconds until the movie is loaded.
The action script I used is:
First frame:
percent = Math.floor(getBytesLoaded()/getBytesTotal()*100);
myOutput.text = percent + "% is loaded";
second frame:
if (percent == 100){
gotoAndStop(3);
}else{
gotoAndPlay(1);
}
in both frames there is an empty imput text. The movie starts in the third frame.
Thank you in advance, I hope someone can help me