PDA

View Full Version : movie clip to different timeline


sandeep.sathiya
02-10-2011, 02:41 PM
hi every one,
i am a fresher to flash i use Macromedia 8
i am doing a simple project in which i have 3 frames in the main time line and a movieclip in the first frame and two button.i have something else in the second and third frame
when i click the first button the movieclip should start after it ends the timeline should move to second frame and stop
when i click the second button the same movieclip should start after it ends the timeline should move to third frame and stop

plz help me with the code as i am not familiar with it

theblonde
02-11-2011, 10:26 AM
Hi sandeep.sathiya what you need is to put in each frame in the action a stop();

then in each fram you put a button that does something like

on(press){
clip_X.play(); or clip_X.gotoAndPlay("Label" or numer of the frame);
}

then at the end of the movieclip you need to put in the action
_root.gotoAndStop(2 or 3 or "Label");

at the next frame you want

I'm not good at explaining but if you need a hand I will help you ;)