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

loading movieclips with rest of movie

Status
Not open for further replies.

GooeyHand

Technical User
Jun 25, 2002
17
CA
hey out there,
i'm constructing a preloader with an already playing movie, so that when the user clicks on a button it loads up a new movieclip within that movie. but i have built other short movieclips (for the background) within that existing movieclip. so its basically "MC/MC/MC". now i thought this preloader would load the third movieclip aswell, but when i'm playing wimamp in the background it starts skipping when the clips start, showing that they have not been loaded properly. if anyone has any clue whats going on it would be a great help. thanks.
this is the main part of my script that i'm using:

total_bytes = _root.getBytesTotal();
loaded_bytes = _root.getBytesLoaded();
remaining_bytes = total_bytes-loaded_bytes;
percent_done = int((loaded_bytes/total_bytes)*100);
bar2.gotoAndStop(percent_done);
ifFrameLoaded (80) {
gotoAndPlay (23);}

this code is embedded part way through the 2nd MC.
 
A bit of confusion!
You don't load or preload movie clips. You load or preload external .swfs in container movie clips or on other levels.
Best would be to post a link to your .fla.
Might be easier to see what you're trying to do. Regards,

oldman3.gif
 
i just found that it wasn't my preloader that was the prob, just one of my MC's. thanks for the help though.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top