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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help with loader

Status
Not open for further replies.

volim

Instructor
Jan 15, 2007
1
US
i've been trying to build a loader and i think i almost accomplished my mission. this is the code i used on frame 1 of scene 1

stop();
myinterval = setInterval(preload,100);

function preload(){
if (_root.getBytesLoaded() >= _root.getBytesTotal()){
gotoAndStop("main",1);
clearInterval(myInterval);

}
}


the code seems to work but for some reason the movie has to load till 40% before the loading screen even appears.

you can see the site at omnisect.com

can anyone tell me what i'm doing wrong here?

by the way i'm using flash mx 2004
 
Maybe you have some linked library items that are being loaded first (when u create linkage for a library item, and you have "export on first frame" checked)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top