• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 265
  • Last Modified:

Flash - Use Movie Clip frame to start other Movie Clip

I have a movie with 2 frames, each with a different Movie Clip.
I want frame 2 to automatically play when the frame 1 Movie Clip reaches a certain frame.
When I searched, the only info I could find was for preloaders.

Please help. Thanks.
0
Ozwald
Asked:
Ozwald
1 Solution
 
henrywwCommented:
base on frame number or time?

if it is base on time say once the movie played for 60sec then gotoAndPlay(2)

use setInterval & clearInterval


base on the frame, that u can check on the movie that's playing use movieclip._frames

or ... simply ... add a simple script in ur 1st MC _root.gotoAndPlay(2) at the time when u want to play frame 2 ...

0
 
rexmorCommented:
I'm not sure if this is what I understand your problem,

So you have two frames, put stop() on each frame, then at a certain frame of movieClip 1 you could say gotoAndStop(2). Let's assume that there's no stop() script of each movieClip in frame 1 so it is automatically play. But if you have stop() on the first frame of each movieClip, then on frame 2 of the main timeline _root.movieclip2.play();

hope this help,

rexy
0
 
OzwaldAuthor Commented:
Perfect. Great to know both ways. Thanks, henryww.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now