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!

can you load in 2 different parts of movie ??

Status
Not open for further replies.

hoja

Technical User
Dec 3, 2003
102
US
Hi, I made a loader for my web flash movie, but I want to know if there is a way to load to a certain point, and the person wants to go beyond that point by clicking on a link, it would then load the rest!!! get my point? not good at explaining stuff....please advice, thank you

here is my code for the preloader;

bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
_root.loadBar._width = getPercent*100;
_root.loadText = Math.round(getPercent*100)+"%";
if (bytes_loaded == bytes_total) {
_root.gotoAndStop(3);
}
 
Nope! Unless the rest is in fact, a seperate external movie being loaded in your main movie...
A preloader can't only load some portion of a movie. You can attempt (does't allways work...)to start your movie playing once some percentage, frames or bytes have in fact downloaded, but if you succeed, the preloader willc continue to preload the rest of the movie in the background, whether you like it or not.
 
Thank you Oldnewbie :( too bad !!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top