Transition Question

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

bump

Not even one view!?!?

t2d

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]

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.

:frowning:

t2d

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

 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") ;
&nbsp &nbsp &nbsp &nbsp }
&nbsp &nbsp &nbsp &nbsp if (_root.level==3) {
&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp _level3.gotoAndPlay("out") ;
&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 :

 on (press) {
&nbsp &nbsp &nbsp &nbsp if (_root.level==1) {
&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp _level1.gotoAndPlay("out") ;
&nbsp &nbsp &nbsp &nbsp }
&nbsp &nbsp &nbsp &nbsp if (_root.level==3) {
&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp _level3.gotoAndPlay("out") ;
&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]

This makes sense, let me give it a try.

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

:wink:

t2d

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

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

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. :wink:

t2d

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