I have created TWO Flash movies. They work just fine
individually, but I get problem when I put one into another one!
The main Flash is a Menu and the second one if a Photo Album.
The Menu is series of animation (Moving Objects) which finally
comes into rest and create the menu. The photo album is another SWF
file which is called with in the first Flash Movie (The Menu). The
SWF file is loaded as follow into the Main Flash.
Problem arises when I click on the Play Button of the
photoAlbum.swf (Photo Album) since the execution of the play button
causes the Flash starts once again from the beginning of the entire
Flash Movie (Beginning of the animation creating the menu) and it
simply jumps into the Firm One of my Flash Movie.
Could you tell me how I can isulate what is in layer 6 (Where
the photoAlbum is loaded to) from the rest of my Flash Movie?
I hope I managed to explain my problem. I would like to take
this opportunity to thank you in advance for your help.
I have realized the problem arises from the Wait Function
which causes the Photo Album to pause for a period of time (Two
Seconds) once a Photo is fully displayed (I have Fade in/out Photo
Album). I realized everything works OK once I remove the function
and rather left the Photos to be flipped without any pausing (This
is an Auto-loading Album which simply Flips the photos!).
Here is the Wait Function which is causing all the trouble.
var myInterval = setInterval(function ()