PDA

View Full Version : Help rookie



duchman
February 11th, 2010, 01:55 PM
hello,Im so new in this, help..
I have looped 5 frame movie clip on stage contained of several objects. IN3rd layer I have a button symbol "logo" in frame by frame mc, which reacts on rollovers made in "over" state of a button. Also have separate "about" button link on stage, and I would like "about" when clicked to call the "logo" movie clips animation once, and then to go to next scene.. Flash cs4,AS3.0. Thnx.

Shaedo
February 11th, 2010, 09:09 PM
first you need a piece of code on your "about" button that calls your "logo" clip animation which would be something like this

about.addEventListener(MouseEvent.CLICK, MC, false, 0, true);
function MC(e:MouseEvent):void
{
logo.gotoAndPlay(2);//assuming logo frame one has a stop in it
}

Then you have the last frame (key frame) on your 'logo' movie clip tell it to go to the next scene.

BTW I there are many strong reasons NOT to EVER use scenes. Are you sure you want to be using scenes?