PDA

View Full Version : More Advanced Transitions


sawyer1370
08-06-2003, 11:32 AM
I have always wanted to learn how to do the transitions that unload the viewed sections with the reverse animations that were used to load the section, then goto the section that is selected on the button push. Now with Max I think I can do this. I'm just not sure how.

Here is an example:
bukwild.com (http://www.bukwild.com/home.html)

When you go to a different section, like going from home to portfolio. The home section has animations that remove the contect in the opposite manner as it was loaded, then loads the portfolio section.

I imagine this is done thru scripting, maybe something like a if/then statement, on button release if home is loaded goto unload home and load portfolio
else if studio is loaded unload studio and load portfolio

Is that how this type of thing is done, or is there some other solution?

thanks in advance for the help!

Vincent26381
08-06-2003, 11:51 AM
Hi,

You could do it in SWiSH 2 already. I wrote a little tutorial on that at SWiSHZone (http://www.swishzone.com/tutorials.php?do=page&action=detailed&link_id=46)


With SWiSH max you could use a varialbe to detect where the viewer is/was. Brian explaint how to show a 'visited' link in the Max general help forum. You can use the same technic for this....


Hope it helps :)

the_real_tisse
08-06-2003, 11:53 AM
Hi sawyer

Don't know how to do that in SWISHmax, but in Swish 2.0 you can do that with a double or triple set of buttons. Then have a place and remove sequence with stops and labels.

Depending on which animation is open, you point towards that certain label. That other button will then lead to a closing animation with a tell target at the end that tells the content which it refers to to come up.

So, imagine you have a home and portfolio button. When clicking on portfolio, it will tell the home section to close and at the end of the closing sequence of the home section there is a tell target that will lead to the opening sequence of the portfolio section.

But, when clicking on the portfolio button, it will also make it so that there is another home button (an invisible rectangle is what I always use) and the previous home button is removed. So this 'new' home button will lead to the closing of the portfolio with at the end of the closing section a tell target towards the opening section of the home content. And again, it will remove the previous portfolio button and put another in its place.

Hope that makes some sense.

kind regards
Tisse

Schwalbach
08-06-2003, 12:09 PM
Yes, tisse, this was possible in 2.0, but much easier in swishmax. I will make an example and post it soon :)

sawyer1370
08-06-2003, 12:23 PM
you guys rock! I knew you could do it in 2, but the use of scripts would make it much easier. With my limited knowledge of scripting, but a general understanding of some Java and XML, I'm pretty sure it is if/else commands, at least I would think that is the way to do it.

hirschby
08-26-2003, 08:08 AM
the_real_tisse
you explain this with two button, thats easy in 2.0 with more buttons get more complicated. I wanna know how is this posible with swishscript and witch command i need to use to do that.

U guys rools and site is the best for learning.

i just miss script tutorials, but i know its a lot of work with them so i'll
wait. :-)
Keep on good work.

hirschby
09-05-2003, 05:16 AM
:o
What that warn mean in my profile i ll see it just right now?