shartwig
January 14th, 2003, 01:15 PM
Hello All.
I'm having a pretty significant performance issue with multiple instances of the same external files. The description of the problem should give you the idea of what is going on, but if you need any other info, please let me know. I definitely need help here, sooner than later.
Subject:
A portfolio project with a master portfolio.swf file, which pulls in 6 instances of project.swf and thumb.swf into targetClips (projectClip[1-6] and thumbClip[1-6], respectively). A variable (projectNumber) is passed to the project.swf and thumb.swf movies through the loadMovie URL so that they know what project they are associated with. The projectNumber variable is also used by each projectClip instance to pull in the right external JPG image files for the portfolio also using loadMovie.
Issue:
As the portfolio.swf file loads, the project instances and thumbs are all preloaded in order (1-6) into their targetClips. Each projectClip loads its associated .jpgs as well. The issue lies in the performance of the different instances of the projectClip. They seem to slow down depending on load order (projectClip1 is snappy, projectClip4 is noticably slower, etc.). The more noticeable issue is that projectClip5 and project Clip6 completely choke: they don't play the tween that exists at the label that they are supposed to go to, and they seem to load the external jpgs on the fly, even though they should be preloaded (the thumb.swf file waits to show up until the project images are completely loaded).
Would somebody be so kind as to take a stab at what might be going wrong? It would be greatly appreciated. Caveat: the jpg files suck - they are only placeholders.
View the portfolio.swf file in action. (http://bsbdesign.electricpulp.com/flash/portfolio/portfolio.swf)
I'm having a pretty significant performance issue with multiple instances of the same external files. The description of the problem should give you the idea of what is going on, but if you need any other info, please let me know. I definitely need help here, sooner than later.
Subject:
A portfolio project with a master portfolio.swf file, which pulls in 6 instances of project.swf and thumb.swf into targetClips (projectClip[1-6] and thumbClip[1-6], respectively). A variable (projectNumber) is passed to the project.swf and thumb.swf movies through the loadMovie URL so that they know what project they are associated with. The projectNumber variable is also used by each projectClip instance to pull in the right external JPG image files for the portfolio also using loadMovie.
Issue:
As the portfolio.swf file loads, the project instances and thumbs are all preloaded in order (1-6) into their targetClips. Each projectClip loads its associated .jpgs as well. The issue lies in the performance of the different instances of the projectClip. They seem to slow down depending on load order (projectClip1 is snappy, projectClip4 is noticably slower, etc.). The more noticeable issue is that projectClip5 and project Clip6 completely choke: they don't play the tween that exists at the label that they are supposed to go to, and they seem to load the external jpgs on the fly, even though they should be preloaded (the thumb.swf file waits to show up until the project images are completely loaded).
Would somebody be so kind as to take a stab at what might be going wrong? It would be greatly appreciated. Caveat: the jpg files suck - they are only placeholders.
View the portfolio.swf file in action. (http://bsbdesign.electricpulp.com/flash/portfolio/portfolio.swf)