# Problem with "Transitions..." tutorial

**URL:** <https://forum.kirupa.com/t/problem-with-transitions-tutorial/64396>\
**Category:** Uncategorized\
**Created:** [September 15, 2004, 8:42pm UTC](https://forum.kirupa.com/t/problem-with-transitions-tutorial/64396 "2004-09-15T20:42:05Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![branwen](https://avatars.discourse-cdn.com/v4/letter/b/7ea924/32.png) [@branwen](https://forum.kirupa.com/u/branwen)\
**Post date:** [September 15, 2004, 8:42pm UTC](https://forum.kirupa.com/t/problem-with-transitions-tutorial/64396/1 "2004-09-15T20:42:05Z")

</div>

[size=2]Hi :  
At the moment I am working in my online portfolio. I have been based in the tutorial called [[color=#003366]Transitions between External SWFs[/color]by [url=“http://www.voetsjoeba.com/”][color=#800080]Voetsjoeba[/color]](http://www.kirupa.com/developer/mx2004/transitions.htm), and it has been helpful.  
Anyway I have a problem and I have thought that perhaps you can help me.  
It´s the following one: I am designing my WEB that loads the sections (external SWF) within a container. Well… Until that moment I have sufficient following this tutorial. But I wanted that a button within one of this external SWF called equally to another external SWF since it makes a button in the main movie, and that it loaded the SWF in the same container.

I have tried to modify and to rewrite the script, but I haven´t had luck or don´t know sufficient to obtain it.

Thanks in advance.

[/size]

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 15, 2004, 9:42pm UTC](https://forum.kirupa.com/t/problem-with-transitions-tutorial/64396/2 "2004-09-15T21:42:10Z")

</div>

You kind of lost me on the second half of your question… but try this on your button:[AS]on (release) {  
\_root.container.loadMovie(“fileName.swf”);  
}[/AS]

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 16, 2004, 9:32am UTC](https://forum.kirupa.com/t/problem-with-transitions-tutorial/64396/3 "2004-09-16T09:32:28Z")

</div>

Thaks Wizard… but I tested with that option already, and works partially only, because it changes the SWF radically and it doesn´t finish like the other principal sections.  
BUFF!!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 16, 2004, 5:38pm UTC](https://forum.kirupa.com/t/problem-with-transitions-tutorial/64396/4 "2004-09-16T17:38:15Z")

</div>

Ahhh, you might have to do something like this (tutorial):[AS]  
on (release) {

if (\_root.currMovie == undefined) {

\_root.currMovie = “main”;  
\_root.container.loadMovie(“main.swf”);  
} else if (\_root.currMovie != “main”) {  
if (\_root.container.\_currentframe \>= \_root.container.midframe) {

\_root.currMovie = “main”;  
\_root.container.play();

}

}

}[/AS]

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 16, 2004, 6:11pm UTC](https://forum.kirupa.com/t/problem-with-transitions-tutorial/64396/5 "2004-09-16T18:11:57Z")

</div>

i am having the same problem with that tutorial… basically i got evertything working too but now what i am trying to do is load another swf in the same container and use the same intro and outro techinque that the tutorial shows,  
but no luck for me yet.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 16, 2004, 6:17pm UTC](https://forum.kirupa.com/t/problem-with-transitions-tutorial/64396/6 "2004-09-16T18:17:10Z")

</div>

The tutorial was written to be used with buttons outside of the containers, but it can be modified to use it inside the containers. If you do that thoug, you’ll have to copy your buttons to each of the external movies. That’s why I created the buttons outside of the container. If you have extra buttons that you want to use to create transitions inside the swfs, which are again part of the main transitions system, then it gets more complicated because you’re nesting transitions. What situation are you in ?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 16, 2004, 6:43pm UTC](https://forum.kirupa.com/t/problem-with-transitions-tutorial/64396/7 "2004-09-16T18:43:15Z")

</div>

## Thanks Wizard!!! Now my sections and subsections work perfectly!!! A lot of thanks Wizard!!!

Thanks [size=2]Voetsjoeba[/size]!!! Your tutorial is very good, but I think that to complement it you must to include this variation.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 16, 2004, 8:08pm UTC](https://forum.kirupa.com/t/problem-with-transitions-tutorial/64396/8 "2004-09-16T20:08:53Z")

</div>

isnt all that stuff just targeting and path problems?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 16, 2004, 8:28pm UTC](https://forum.kirupa.com/t/problem-with-transitions-tutorial/64396/9 "2004-09-16T20:28:09Z")

</div>

Yeah, though it could have been nesting of transitions or whatnot. But wizard already solved it, so all is well now 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 16, 2004, 9:02pm UTC](https://forum.kirupa.com/t/problem-with-transitions-tutorial/64396/10 "2004-09-16T21:02:03Z")

</div>

> [@branwen](#):
>
> ## Thanks Wizard!!! Now my sections and subsections work perfectly!!! A lot of thanks Wizard!!!
> 
> Thanks [size=2]Voetsjoeba[/size]!!! Your tutorial is very good, but I think that to complement it you must to include this variation.

Branwen can you send me a file that can show me how you did it ?

I am still having problems with this and its driving me crazy!! 🅰

thank you.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 16, 2004, 10:03pm UTC](https://forum.kirupa.com/t/problem-with-transitions-tutorial/64396/11 "2004-09-16T22:03:27Z")

</div>

What are you having problems with exactly?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 16, 2004, 10:31pm UTC](https://forum.kirupa.com/t/problem-with-transitions-tutorial/64396/12 "2004-09-16T22:31:34Z")

</div>

> [@wizard](#):
>
> What are you having problems with exactly?

ok… i have an swf. loading into a container, the swf has an intro and an outro.

now while i have that swf loaded in the container, i want to load another swf. with an intro and an outro just like the main swf. Basically if you click on " Portfolio" the portfolio swf plays the intro, and then if u click " Contact " it plays the outro for the Portfolio and the intro for "Contact"and so on. So far i got all this working right.

Now my problem is that i dont know how i can load more swf’s with the same intro and outro technique while you are on “Portolio” for example.

I tried adding a new container called “container2” and tried loading the new swf’s in there with the same code as the tutorial shows but it wont work i cant understand why. Its been like 3 days already that i try different things but no luck yet.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 16, 2004, 10:39pm UTC](https://forum.kirupa.com/t/problem-with-transitions-tutorial/64396/13 "2004-09-16T22:39:31Z")

</div>

:h:

You would load the other .swf’s the same way you’re currently loading the Portfolio and Contact files. If you were able to get those two working I see no reason why you couldn’t get the rest of them working. Make sure you’re not missing any of the AS… for example the script that goes on the last frame of the external movies:[AS]\_root.container.loadMovie(\_root.currMovie+".swf");[/AS]

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 16, 2004, 10:42pm UTC](https://forum.kirupa.com/t/problem-with-transitions-tutorial/64396/14 "2004-09-16T22:42:51Z")

</div>

OK,Lethal Industry… I send you the Fla´s with the modifications, but I need your eMail.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 16, 2004, 10:50pm UTC](https://forum.kirupa.com/t/problem-with-transitions-tutorial/64396/15 "2004-09-16T22:50:16Z")

</div>

Hi branwen, can you also send me the fla. my email is [gustav\_chang@yahoo.ca](mailto:gustav_chang@yahoo.ca)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 16, 2004, 11:16pm UTC](https://forum.kirupa.com/t/problem-with-transitions-tutorial/64396/16 "2004-09-16T23:16:38Z")

</div>

> [@wizard](#):
>
> :h:
> 
> You would load the other .swf’s the same way you’re currently loading the Portfolio and Contact files. If you were able to get those two working I see no reason why you couldn’t get the rest of them working. Make sure you’re not missing any of the AS… for example the script that goes on the last frame of the external movies:[AS]\_root.container.loadMovie(\_root.currMovie+“.swf”);[/AS]

yes i have that part of the code in the swf. i attached the files so you can see whats going on.

In the files you’ll see that the button under the # “1” wont load another swf.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 16, 2004, 11:20pm UTC](https://forum.kirupa.com/t/problem-with-transitions-tutorial/64396/17 "2004-09-16T23:20:13Z")

</div>

> [@branwen](#):
>
> OK,Lethal Industry… I send you the Fla´s with the modifications, but I need your eMail.

[rapmuzik@bellsouth.net](mailto:rapmuzik@bellsouth.net)

Thank you!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 16, 2004, 11:20pm UTC](https://forum.kirupa.com/t/problem-with-transitions-tutorial/64396/18 "2004-09-16T23:20:26Z")

</div>

I couldn’t open your file… you must be using MX2004, save it for FlashMX.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 16, 2004, 11:26pm UTC](https://forum.kirupa.com/t/problem-with-transitions-tutorial/64396/19 "2004-09-16T23:26:11Z")

</div>

> [@wizard](#):
>
> I couldn’t open your file… you must be using MX2004, save it for FlashMX.

opps sorry.

here you go.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 17, 2004, 12:41am UTC](https://forum.kirupa.com/t/problem-with-transitions-tutorial/64396/20 "2004-09-17T00:41:58Z")

</div>

Okay here you go… it was the exact same situation as with branwen. 😉

[Next page](https://forum.kirupa.com/t/problem-with-transitions-tutorial/64396.md?page=2)
