"Volkswagen Passat" Navigation
- by joe_midi
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);
}