MC madness

Hey people…

Take a look at this site: tomstephan
When you browse the navigation on the site, the image shakes! Is NOT the image effect I’m after, but when we press one of the buttons, the image on the “scene” shakes, before changing to another image.

In other words, how can I make a movieclip play, that are allready on the “scene” (like tomstephan) - before it change to the next movieclip - no mater what button I press, the movieclip on the scene plays before changeing!..
Is this possiable without using serperate swf’s?

Hope you know what I’m talking about! …any help would be NICE!

This should be tutorialized :beam:
Anyway, this is how I would do it: [list][]All the sections have a frame label. The section begins with the picture shaking in, then a stop, and finally the picture shaking out.[]When you press a button, you store a frame label in a variable, you play the pic shaking out, and at the last frame of the section, you have a gotoAndPlay to the variable that holds the frame label.[/list]Sounds doable?

pom :run:

THX pom!

could you post a tiny example on how to store a frame label in a variable!?

Imagine you have 3 sections, me, portfolio and contact, with the corresponding labels in the timeline. When you press the portfolio button for instance, you’ll have that kind of code

on (press) {
  _root.theLabel="portfolio";
}

And then at the end of the outro

_root.gotoAndPlay(_root.theLabel);

Tell me if you still need and example.

pom C:-)

Hmmm… I still don’t quite follow! could you please take alook at the following fla - and perhaps make some changes! :-\

Well, there is nothing in that fla except 3 buttons :crazy: I’ll try and do something anyway, wait a second.

look in the library!! …Am I going the right way!?

Well, I didn’t see any code anywhere :-\

Anyway, I hope this will help you.

YEAH - thx alot m8! really NICE!

cheers :+)