"Volkswagen Passat" Navigation
Posted
by
joe_midi
on Stack Overflow
See other posts from Stack Overflow
or by joe_midi
Published on 2012-03-19T22:38:04Z
Indexed on
2012/03/19
23:29 UTC
Read the original article
Hit count: 131
actionscript-3
|navigation
http://web.vw.com/all-new-passat-experience/
The navigation on this .swf is very impressive, and I was wondering how I would go about replicating it.
The way each of the sections Design / Technology / Safety / Performance I want to know how each section can expand and still fit together.
I've started with MOUSE_OVER events, but I'm not entirely sure how to order them so each section is the right size for every mouse over Event.
This is the code I have for each "Section", I have created a movie clip with a Mask that expands on mouse over and brings the selected clip to the highest depth.
this.firstButton01.addEventListener(MouseEvent.MOUSE_OVER, firstButton01OVER)
function firstButton01OVER(e:Event):void
{
this.firstButton01.gotoAndPlay(2);
this.setChildIndex(firstButton01,this.numChildren-1);
}
© Stack Overflow or respective owner