Guig0: Eu no sou de Brasil, mim sou dos Paises Baixos 
and my portuguese is kinda rusty 
Back to business my friends 
- Thanks for the .fla Guig0… I hate to say this… but I couldn’t open it (flash mx file I guess), while I only use Flash 5

hopefully the code can be also used for Flash 5?
- Anyway, I spend my entire sunday morning experimenting with variables, but it doesn’t work. I have an idea why, but I need you to explain me what I am doing wrong.
Okay, I will give a summary of my tries…
a.) on the last frame of the external loaded SWF I put the following action:
stop ();
if (_root.thumbclip ne “” or “1”){
_root.thumbcover.gotoAndPlay(“close”);
}else{
_root.thumbclip = “”;
}
With this code I intended the following:
-
okay, the current example.fla worked fine till the moment the SWF started loading & playing. Cause clicks (and set vars) after that were not remembered because in the last frame of the old example file I cleared the thumbclip var with _root.thumbclip = “”;
-
So, my idea was to have on the last frame of the external SWF check if the thumbclip var was still that of the SWF playing (value 1 = swf 1 and so on), if yes (no buttons would have been clicked while the SWF was playing) the var should be set to “”. If no it should gotoandplay the cover with the new var set.
Didn’t work and I reckoned that checking for also the “” state of the thumbclip var was nonsense, since in any case that is never the case. So: if (_root.thumbclip ne “1”){
b.) since after this I couldn’t click anythng anymore, I assumed that for some reason the thumbclip var was not set to “” anymore. So I changed the code to this:
if (_root.thumbclip == “1”){
_root.thumbclip = “”;
}
else{
_root.thumbcover.gotoAndPlay(close);
}
So basically I turned it around, made it more logic.
Still didn’t work, though it did set the thumbclip var to “”. But it didn’t remember the clicks during the playing of the SWF.
c.) Then it dawned to me that obviously the coverMC could never play until the thumbclip var was set to “” since this was fixed like this in the onRelease action on the button on the main.
So I guessed that I would have to set the thumbclip var in any case on “” if I wanted to get the coverMC to play again.
The only way to do this I guess is to set another var onRelease, which is being used within the external SWF.
So it would be then something like this:
-
first I’d set the thumbclip var to “” (so the coverMC can play again)
-
when someone clicks the button the var for the right external SWF is being set (with nextMovie2 = “thumb1.swf”;). So that is being taken care of as well.
-
so the only thing to do now is to make sure that when someone clicks one of the buttons, a second var is set for the SWFs. But ofcourse, since you set in the last frame of the SWF the
thumbSWFclip = “1”;
in the last frame of the external SWF 1 (in this case) it checks for this var.
stop ();
_root.thumbclip = “”;
if (_root.thumbSWFclip ne “1”){
_root.thumbcover.gotoAndPlay(“close”);
}
else{
gotoAndStop;
}
Just to make sure I put in frame 3 of the SWF (in this case swf1)
thumbSWFclip = “1”;
_root.thumbclip = “1”;
so dammit, all vars are set as solid as a house 
and it works…
almost…
Because ofcourse in the period between the external SWF setting the var to “” in its last frame and the new SWF (3) setting it again to 1,2 or 3, there is the coverMC. And when the new SWF loads because during playing of the previous one a button is clicked, no onRelease has been and therefore no thumbclip var is set. So when the coverMC plays, you can click and the new coverMC will interrupt the old one.
Confusing huh 
Just click button 1, wait till the SWF1 is playing and then click button 2.
When the cover of SWF2 starts sliding in, click again on a button, and you see that the grey slider replays.
maybe in the cover I could put an action which checks if the same coverMC is already playing and then blocks this? Or with a var???
So that is the only thing I have to figure out to avoid… anyone???
Thanks a lot 