View Full Version : Transition Question
time2design
March 31st, 2002, 11:40 AM
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
time2design
April 1st, 2002, 04:17 PM
*bump*
Not even one view!?!?
t2d
ilyaslamasse
April 1st, 2002, 04:25 PM
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]
time2design
April 13th, 2002, 10:50 AM
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
ilyaslamasse
April 13th, 2002, 12:15 PM
Try this : In your main timeline, put 3 buttons. The 1st button :
on (press) {
// if there's something, play out
        if (_root.level==2) {
                _level2.gotoAndPlay("out") ;
        }
        if (_root.level==3) {
                _level3.gotoAndPlay("out") ;
        }
// load the movie on level 1
        loadMovieNum ("1st.swf", 1);
        _root.level = 1;
}The same with the second and the third with minor differences :
on (press) {
        if (_root.level==1) {
                _level1.gotoAndPlay("out") ;
        }
        if (_root.level==3) {
                _level3.gotoAndPlay("out") ;
        }
        loadMovieNum ("2nd.swf", 2);
        _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]
time2design
April 13th, 2002, 12:19 PM
This makes sense, let me give it a try.
Thanks, pom. Do I have to pay you extra for help on Sat.?
;)
t2d
ilyaslamasse
April 13th, 2002, 12:21 PM
Nope, the regular $3,000 will do.
pom 0]
upuaut8
April 14th, 2002, 07:28 AM
@#%$.. I've been unwriting the whole process.. I didn't know we were charging Pom.. I sware.. :)
time2design
April 14th, 2002, 09:29 AM
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
ilyaslamasse
April 14th, 2002, 09:34 AM
Funny, mine says $ 3,000,000...
pom 0]
Is it working ?
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.