|
-
Loading/Unloading Movie Timeline Issues in Flash8
I've been working on a flash element for a site that invlolves 110 images that would slide in and out in succession.
I put the images into groups of 10 and made an external movie out of it. So right now I have a container swf that loads 1 of 11 external movies randomly.
In the external movie I have a tween that slides the images in and out.
The trouble I am running into is this: There seems to be a time discrepancy at the end of my loaded movie. The last image does not seem to have enough time to complete its exit tween before the next external movie is loaded. This issue seems to occur randomly. Sometimes there is enough time for the external movie to finish and sometimes there is not.
Both container movie and externals have the same fps and same frame length.
Everything works locally. It only runs into issues when I upload and test online.
I am at my wits end with this. If anyone can shed some light on the problem it would be mosts appreciated.
Here is the test: http://www.kausticdesign.com/PA/
Here is the script I used to randomly select a movie to load:
choice = Math.round(Math.random()*11);
switch (choice) {
case 0 :
location.loadMovie("image00.swf");
break;
case 1 :
location.loadMovie("image01.swf");
break;
case 2 :
location.loadMovie("image02.swf");
break;
case 3 :
location.loadMovie("image03.swf");
break;
case 4 :
location.loadMovie("image04.swf");
break;
case 5 :
location.loadMovie("image05.swf");
break;
case 6 :
location.loadMovie("image06.swf");
break;
case 7 :
location.loadMovie("image07.swf");
break;
case 8 :
location.loadMovie("image08.swf");
break;
case 9 :
location.loadMovie("image09.swf");
break;
case 10 :
location.loadMovie("image10.swf");
break;
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|