PDA

View Full Version : next frame


utswim
10-28-2002, 10:36 PM
Anyone know what I'm doing wrong? I've established an opening set of fades, all on the same frame, which happen in order, ending with a fade in of navigable buttons. I can't make the buttons fade in, so I made separate movie clips (which look identical to the buttons) for the fade in.

I've tried attaching code in a number of places (the MC's, the main timeline) which say essentially:
on completion of final fade in;
gotoAndStop(2);

where frame 2 has the actual buttons inserted instead of the MC's, meaning once the MC fade has concluded, the user is now able to click a button.

I can't come up with any code that works to go to frame 2 upon completion of the fades. Any suggestions? Where would it go?

Thanks.

farafiro
10-29-2002, 05:57 AM
as Movie Clips have an indipendent time lines, so tha code belongs to it. U just need to add _root before your code_root.gotoAndPlay(2)

utswim
10-29-2002, 02:00 PM
Thanks, that works.

Instead of using the MC (w/fade) on frame 1 and the identical button on frame 2, would I save any appreciable file size by making the up stage of that button a fade in with a stop(); all on frame one?

farafiro
10-30-2002, 04:35 AM
cool, happy to hear that. Also if u r on Flash MX u can use the new button properties, by putting the 2 buttons over each other, assign your scripts and add when releasing it, its visiblity becomes 0 anf the other one becomes 1, and so on