Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

preloader script

Status
Not open for further replies.

jreley

Technical User
Sep 11, 2006
14
0
0
GB
hi

i have a preloader swf that needs to loop while the "mainsite.swf" file loads, what script do i need to input and where does it need to be placed in the preloader fla?

i've tried this script but it's not working

if (getBytesLoaded(400, 500)>=getBytesTotal()) {
loadMovieNum("mainsite.swf", 0);
} else {
gotoAndPlay(1);
}

any help would be much appreciated

thanks

Jon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top