LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




ReplyREPLY THREAD
 
Thread Tools Display Modes
  #1  
Old 01-29-2007, 12:32 AM
BoogWeed BoogWeed is offline
Registered User
 
Join Date: Jan 2007
Posts: 9
Rep Power: 0
BoogWeed is on a distinguished road
Main Timeline & Movieclip Timeline

Hi all,

This is going to sound very simple, but I'm having some trouble understanding exactly how the timelines work. I've tried searching online but I haven't found what I'm looking for.

I have two animated movieclips. The first one is 50 frames long and the second one is 200 frames long.

On the main timeline, I want to the first clip to play and when that has finished I want the second clip to play. But I put them onto the main timeline, each on a different layer, they play at the same time.

I understand MC's play independently of the main timeline, but I've tried placing the second MC on the 50th frame of the main time line so it will play after the first MS has finished but it doesn't work.

Placing them both on the first frame of the main timeline obviously makes them both play at the same time...

How/where would I position the animated movie clips on the timeline so one plays first then the second one plays?

Can anyone please explain this or maybe point me towards a tutorial?

Many thanks.
Reply With Quote
  #2  
Old 01-29-2007, 07:09 AM
saumya's Avatar
saumya saumya is offline
Super Moderator
 
Join Date: Oct 2004
Location: India
Posts: 2,214
Rep Power: 11
saumya is on a distinguished road
Are you ready to script some lines of code?
Then start some reading here, which gives the basic idea of targeting.
The idea is you can put the 2 clips in one frame and control them through code.
__________________
www.saumyaray.com
Reply With Quote
  #3  
Old 01-30-2007, 11:08 AM
houc0015's Avatar
houc0015 houc0015 is offline
Just a Moderator
 
Join Date: Aug 2004
Location: Indiana, USA
Posts: 739
Rep Power: 9
houc0015 is on a distinguished road
You can use the scripting solution saumya wrote about (if you understand it, it gives you much more control), but you should know how the timeline works anyway, since it is the basis for most animations in flash.

That being said, I think you were on the right track when youput the 2nd MC at frame 50... It should have been at 51 if the first MC was 50 frames long, but It should have been close if you set up the timeline correctly.

When you place a MC on the timeline, it starts playing as soon as the instance exists. An "Instance" is a copy of a symbol from your library that exists on the stage -- you can have multiple instances of the same symbol.

If your first MC (MC1) is 50 frames long, you would need a key frame on frame 1. then you would need to add 49 more frames to the instance (by selecting the keyframe and pressing F5). The timeline would look like this:
Code:
[•________________________]
To add the second MC (MC2) to play after, you would add a keyframe in frame 51, then drage MC2 onto the stage (you need to delete MC1 also, or it wil start playing again). Next, add 200 more frames to the main timeline and extend MC2 across those frames.

That should be it.
Reply With Quote
  #4  
Old 01-31-2007, 01:40 AM
BoogWeed BoogWeed is offline
Registered User
 
Join Date: Jan 2007
Posts: 9
Rep Power: 0
BoogWeed is on a distinguished road
Thanks a lot for your reply!

I understand all about MC's and instances. I just didn't know that Say in insert a 50 frame MC into frame 100 that I would have to add another frame at frame 150.

It make perfect sense though.

Thanks a lot.
Reply With Quote


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
accessing 2nd frame movieclip button from main timeline grebs ActionScript 3.0 4 12-20-2008 11:40 AM
Using cue points to trigger actions on the main timeline? eabigelow Flash Video 19 07-08-2008 01:05 PM
ActionScript differences between main timeline and movie timeline? lorax Actionscript 2.0 3 01-31-2007 09:51 AM
Movie Clip timeline to exact spot in main timeline? tallscot General Flash 2 11-02-2006 05:46 AM
MC within MC in main timeline on top? fatpig Newbies 4 03-29-2004 04:50 PM




All times are GMT. The time now is 11:25 PM.