# Swf transitions problem...(Voets Tut)

**URL:** <https://forum.kirupa.com/t/swf-transitions-problem-voets-tut/100954>\
**Category:** Uncategorized\
**Created:** [February 4, 2004, 6:29am UTC](https://forum.kirupa.com/t/swf-transitions-problem-voets-tut/100954 "2004-02-04T06:29:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BlackShadow](https://avatars.discourse-cdn.com/v4/letter/b/67e7ee/32.png) [@BlackShadow](https://forum.kirupa.com/u/BlackShadow)\
**Post date:** [February 4, 2004, 6:29am UTC](https://forum.kirupa.com/t/swf-transitions-problem-voets-tut/100954/1 "2004-02-04T06:29:03Z")

</div>

Ok. I have 5 sections…

Each button, when clicked, loads its own swf into an emptyMC. And each button has this on it for example. (thx voets)…

[AS]on (release) {  
if (\_root.currMovie == undefined) {  
\_root.currMovie = “Downloads”;  
contentsmain.loadMovie(“Downloads.swf”);  
} else if (\_root.currMovie != “Downloads”) {  
if (contentsmain.\_currentframe == contentsmain.midframe) {  
\_root.currMovie = “Downloads”;  
contentsmain.play();  
}  
}  
}  
[/AS]

Now, those work perfect but the problem is…before the buttons appear ion the page this code is initiated…  
[AS]\_root.contentsmain.loadMovie(“MainMCNew.swf”);[/AS]

That loads the Main page to be displayed first. ok…when I click on for example, the downloads button, it loads it all fine. But the problem comes in here. When I click the Home button, I can’t click any other buttons after that. Nothing else works. Get what I mean? It’s hard to explain.

Thx to whoever can understand all that jibberish. hehe. 😛
