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

loading swfs 1

Status
Not open for further replies.

TFfan

Programmer
Jan 18, 2002
192
CA
The site I'm working on loads a number of swfs from the menu. How many layers can I specify with the loadmovie command (ie. loadMovieNum ("mc1.swf", 1), loadMovieNum ("mc2.swf", 2), etc.)?

Would it be beneficial to load each movie to a separate layer and instead of unloading should I change the visibility to false? This would make the loading of previously loaded swfs faster, but is there a downside to this method?
 
To this day, I have yet to find an answer to that question.
Seems to be limitless, but certainely enough for the average user.
They're called levels rather than layers, if only to distinguish them from the layers, in any given movie.
I agree with the fact that it is usually useless to unload a movie, so that it doesn't have to be re-loaded again, if you need it later. Also consider, that if you load a new movie on a level where there already was a movie, it will automatically unload the previous movie.

Only possible downside I can think of (if you have a very large number of very large loaded movies!), could possibly be the use of unneeded ram memory.

Regards,
new.gif
 
Yeah, I think I agree with you Old. And since my swfs are always lower than 100k I don't think that contemporary computers and their high RAM would have trouble keeping 5-10 <100k movies in check.

Thanks for the opinon.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top