# Transition Question

**URL:** https://forum.kirupa.com/t/transition-question/1953
**Category:** flash
**Created:** [March 31, 2002, 4:40pm UTC](https://forum.kirupa.com/t/transition-question/1953 "2002-03-31T16:40:23Z")
**Posts on this page:** 10
**Page:** 1

<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: [March 31, 2002, 4:40pm UTC](https://forum.kirupa.com/t/transition-question/1953/1 "2002-03-31T16:40:23Z")

</div>

I have a site I’m working on with three main sections. These sections are accessable through a menu movie clip with three buttons. The section the user selects makes that particular button in the movie clip disabled.

When a section is loaded, I have a window that slides in and then the information is displayed. When the user selects another section, the first section disappears and then that section’s window slides in and that information is displayed, etc.

What I’d like to have is a smoother transition where the information doesn’t just vanish but rather the exiting section’s information and window disappears and slides away, respectively.

Do I do this in the menu movie clip and if so, how? Would I use an “if, then” statement?

t2d

---

<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: [April 1, 2002, 9:17pm UTC](https://forum.kirupa.com/t/transition-question/1953/2 "2002-04-01T21:17:17Z")

</div>

_bump_

Not even one view!?!?

t2d

---

<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: [April 1, 2002, 9:25pm UTC](https://forum.kirupa.com/t/transition-question/1953/3 "2002-04-01T21:25:21Z")

</div>

Just look at the advanced rollover tutorial. I think you can make something with it.  
If you really don’t get anywhere, post back.

pom 0]

---

<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: [April 13, 2002, 2:50pm UTC](https://forum.kirupa.com/t/transition-question/1953/4 "2002-04-13T14:50:42Z")

</div>

Okay, still no help. I’m really having a hard time with this.

Here’s the situation:

I have a main menu with three buttons.

Clicking one of the buttons slides a window in and shows information for that section. (Each section is its own .swf file as they will be quite large in the end.)

The separate swf file loads over the main file interface.

Here’s the problem:

The window should slide out when another button is pressed…

…but…

…if the user is on the main page there should be no window to slide out of (since one isn’t there yet).

Things I’ve tried:

Making the window slide out on release of a button (which doesn’t work if you’re on the home page and there isn’t a window there yet).

Making a separate menu for each swf (which doesn’t look right because the over stages of the other buttons use transparency and I can’t figure out how to get the main swf menu to not show underneath).

Anything to help, folks. I’ve been stuck on this for too long.

☹

t2d

---

<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: [April 13, 2002, 4:15pm UTC](https://forum.kirupa.com/t/transition-question/1953/5 "2002-04-13T16:15:54Z")

</div>

Try this : In your main timeline, put 3 buttons. The 1st button :

```auto
 on (press) {
        // if there's something, play out
&nbsp &nbsp &nbsp &nbsp if (_root.level==2) {
&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp _level2.gotoAndPlay("out&quot;) ;
&nbsp &nbsp &nbsp &nbsp }
&nbsp &nbsp &nbsp &nbsp if (_root.level==3) {
&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp _level3.gotoAndPlay("out&quot;) ;
&nbsp &nbsp &nbsp &nbsp }

        // load the movie on level 1
&nbsp &nbsp &nbsp &nbsp loadMovieNum ("1st.swf", 1);
&nbsp &nbsp &nbsp &nbsp _root.level = 1;
}

```

The same with the second and the third with minor differences :

```auto
 on (press) {
&nbsp &nbsp &nbsp &nbsp if (_root.level==1) {
&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp _level1.gotoAndPlay("out&quot;) ;
&nbsp &nbsp &nbsp &nbsp }
&nbsp &nbsp &nbsp &nbsp if (_root.level==3) {
&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp _level3.gotoAndPlay("out&quot;) ;
&nbsp &nbsp &nbsp &nbsp }
&nbsp &nbsp &nbsp &nbsp loadMovieNum ("2nd.swf", 2);
&nbsp &nbsp &nbsp &nbsp _root.level = 2;
}

```

And so on.  
My movie 1st.swf has a fade in tween, and on the last keyframe of the fade in a stop action. I labelled that frame “out”, and it’s also the beginning of the fade out.

Does it work for you ?

pom 0]

---

<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: [April 13, 2002, 4:19pm UTC](https://forum.kirupa.com/t/transition-question/1953/6 "2002-04-13T16:19:07Z")

</div>

This makes sense, let me give it a try.

Thanks, pom. Do I have to pay you extra for help on Sat.?

😉

t2d

---

<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: [April 13, 2002, 4:21pm UTC](https://forum.kirupa.com/t/transition-question/1953/7 "2002-04-13T16:21:32Z")

</div>

Nope, the regular $3,000 will do.  
pom 0]

---

<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: [April 14, 2002, 11:28am UTC](https://forum.kirupa.com/t/transition-question/1953/8 "2002-04-14T11:28:03Z")

</div>

@#%$… I’ve been unwriting the whole process… I didn’t know we were charging Pom… I sware… 🙂

---

<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: [April 14, 2002, 1:29pm UTC](https://forum.kirupa.com/t/transition-question/1953/9 "2002-04-14T13:29:12Z")

</div>

Don’t feel too bad.

My new Flash currency converter I designed says that $3,000 eurodollars is only $.50 US…

…of course that might not be working also. 😉

t2d

---

<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: [April 14, 2002, 1:34pm UTC](https://forum.kirupa.com/t/transition-question/1953/10 "2002-04-14T13:34:53Z")

</div>

Funny, mine says $ 3,000,000…  
pom 0]  
Is it working ?
