tanchewhui
January 17th, 2002, 11:02 PM
Frame 1 of preloader :
total_bytes = _root.getBytesTotal();
loaded_bytes = _root.getBytesLoaded();
remaining_bytes = total_bytes-loaded_bytes;
percent_done = int((loaded_bytes/total_bytes)*100);
bar.gotoAndStop(percent_done);
ifFrameLoaded ("Preloader Dog", 32:cool: {
        gotoAndPlay (13);
}
Frame 2 of preloader :
gotoAndPlay (1);
I included all my movie clip etc into 1 preloader scene.
While playing the preloader, when user click on 'Skip Intro' button, it will load in another movie.
After publishing, when clicked on refresh it will play the preloader scene again starting from frame 13.
Problem : I only want the preloader to play once.
At any time, if the user click refresh, it will
never see the whole preloader scene. User
can only see the frame 1 of the loaded movie.
How can i do it?
please advise and reply asap.
Thank you!
total_bytes = _root.getBytesTotal();
loaded_bytes = _root.getBytesLoaded();
remaining_bytes = total_bytes-loaded_bytes;
percent_done = int((loaded_bytes/total_bytes)*100);
bar.gotoAndStop(percent_done);
ifFrameLoaded ("Preloader Dog", 32:cool: {
        gotoAndPlay (13);
}
Frame 2 of preloader :
gotoAndPlay (1);
I included all my movie clip etc into 1 preloader scene.
While playing the preloader, when user click on 'Skip Intro' button, it will load in another movie.
After publishing, when clicked on refresh it will play the preloader scene again starting from frame 13.
Problem : I only want the preloader to play once.
At any time, if the user click refresh, it will
never see the whole preloader scene. User
can only see the frame 1 of the loaded movie.
How can i do it?
please advise and reply asap.
Thank you!