Hello all,
This might be a bit confusing at first, but hopefully I can make clear what I want to do:
imagine a framework in which an animated picture is shown (= external SWF loaded).
i have 4 buttons, and whenever I click on one of them, a MC (cover) plays over the existing picture (like a fadeout effect), then loads the new animated picture (remember, external SWF) into the framework, and then plays the fade-in anim.
What I would like to create is:
1. When I press one of the 4 buttons and the external SWF is not yet finished loading, that SWF is automatically replaced by the new external SWF (i guess it does that standard)…
HOWEVER, when the SWF is already loaded and playing, when clicking one of the 4 buttons, Flash has to wait till the existing SWF is finished playing (only a few seconds) and after that automatically start playing the cover MC followed by the new SWF.
And if whichever external swf is not fully loaded and played till the last frame yet, the Cover mc cannot interrupt it and play, but it has to check/wait that the last frame of the external loaded swf is played, and then play.
**2. **Furthermore when one of the 4 buttons is pressed, it also has to check if currently the Cover mc (there is only one) is finished playing, so reached the final frame of that, before the Cover MC can be triggered by one of the 4 buttons to play and interrupt the animation that is still playing from the previous button press.
Are you still there?
Great!
Okay, I attached a .FLA (coversequence.fla) which does this more or less (in any case with the CoverMC), however, I cannot get it to work with externally loaded SWF files
In the post below, I will include my .FLA test, which is simplified, works with the Cover MC, holds the cover MC when both Cover or SWF are playing/loading, but (big but), when the new SWF is playing, it does not remember the ‘new click/input’ for after the external SWF is finished loading… so nothing happens.
The problem is as you might have guessed is that on each click a section is loaded. when people click while the new SWF is loaded and playing, the section changes, but the now wrong SWF is visible.
Hopefully you can help me out. Thanks anyway!