Playing multiple movie clips one after other on main timeline

Excuse the probably simple question but I'm just starting off with Flash.
I have imported a few video trailers directly into flash and saved them as movie clips.
I want to be able to insert these movie clips onto the main timeline and play them one after the other, repeating once they have all played.
On the main timeline I have set a layer for each clip and a keyframe where the clip is inserted for each layer.
When I go to play the flash file, it is showing the first frame from each movie file and then moving to the first frame of the next movie file.
What do I need to do to make flash play the entire movie file in that specific frame before moving to the next frame where the next movie file is and playing all that movie?
Sorry for what is probably a simple thing to ask.
thanks

Create an actions layer on the main timeline and place stop(); commands on that layer in each frame where a movieclip resides.
Within in each movieclip, at the end (last frame) you want to tell the main timeline to play(); so that it moves to the next frame (where it will stop because of the stop() commands you add).
So at the end of each movieclip you will put either:
for AS2:  _parent.nextFrame();
for AS3: MovieClip(parent).nextFrame();
For the last movieclip in the lineup you will replace nextFrame() with gotoAndStop(1);

Similar Messages

  • Playing movie clips one after the other

    Hello, I am trying to figure out how to play several movie clips one after the other. Each clip has animation in it. When I drag the clip on the main timeline the timeline plays the frame but does not play the contents of the movie. how do I get it to play the contents of the first movie then play the contents of the second movie which is in frame 2 and so on?
    Thank you

    do you mean in the authoring environment you don't see nested movieclips play when scrubbing the timeline?  if yes, that cannot be changed.  if you used graphic symbols (instead of movieclips), you can see nested graphics play when scrubbing a parent timeline (if the parent timeline has sufficient frames).

  • Play multiple movie clips - with sound

    Hello Forum members,
    I am a total new comer in terms of flash and action script,
    self-educated and Adobe forum and internet educated. I can now
    click a button and stop and start a movie clip, use attachMovie,
    and even mute sound in a movie clip (not video). I am currently
    using Flash 8, and waiting for CS3 (downloaded a trial, and like it
    better than Flash 8).
    Enough history - now to my question - I have an application
    that had 3 scenes. I read in some Adobe article
    "Flash Best Practices" that it was not a good idea to use
    scenes in an application. I converted my Scene 2 and Scene 3 into
    movie clips.
    I figured I could either put each movie clip on a separate
    layer in my timeline (mc_scene2, mc_scene3)
    and play them, one after the other (did not quite work, more
    later). Or...
    copy the timelines from the scenes, and add those frames to
    my Scene 1, making a application with both scenes staggered one
    after the other in the main timeline. Or...
    Keep Scene 1 and at the end of scene 1,
    attacheMovie("mc_scene2", etc) and when scene 2 was done play and
    or attach the final movie clip (mc_scene3).
    I could not figure out how to tell when mc_scene2 was done
    using the attacheMovie method, so I could then attach mc_scene3,
    etc.
    How would I be able to tell when one attached or loaded movie
    clip is finished, and then start the next one?
    Or what is the suggested way to use actionscript to load a
    movie, play it, and when the clip is done, load and play the next,
    etc.
    Thanks for a good forum,
    eholz1

    Hello Again - I guess there is much that I do not understand.
    I followed the tip above - or so I thought.
    I have "buttons" on my movie clips that play the clip when
    clicked.
    I have placed stop actions in frame 1 of each movie clip.
    I tried placing mc_scene2 and mc_scene3 on their own layer
    in the timeline,
    and put the code above in my actions layer (Scene 1).
    it seems that nothing really works - the _visible property
    seems not to work,
    etc - I must be doing something wrong. What layer should the
    two mc's be
    placed?
    Thanks for the info
    Eholz1

  • Play a Movie Clip on a frame In Main SWF from a button, within 2 MovieClips

    I’m using AS2, Flash 8
    I have a frame on my main Timeline Called “Gallery” within this frame I have 2 movie clips, which I need to work together:
    One is called:
    Gall_Lge_1
    Which contains 37 frames.
    Each frame has a different movie – basically 37 different photos which pop up on each frame.
    (MC’s named Lge_1, Lge_2, Lge_3 etc)
    The second Movie Clip I have on here is called:
    gall_strip_mc
    Which contains a movie clip called strip1 , (which is set to scroll its contents controlled by buttons on ”Gallery”- which works) inside that is a movie clip called strip_all , and contains one frame with 37 buttons/photo thumbnails, (Buttons named btn1, btn2, btn3 etc which I require to link each individual button to the corresponding photo/frame in Gall_Lge_1  …
    So,
    btn1 will go to and play Lge_1(Frame 1 of Gall_Lge_1)
    btn2 will go to and play Lge_2(Frame 2 of Gall_Lge_1)
    I’m stuck and can’t get it to work..
    Here is the site – under ‘Gallery’ so you can see what I’m trying to achieve
    http://www.blueshelldesign.com.au/draft/
    (I’ve placed in Back and Next buttons next to ‘Gall_Lge_1’ so you can see how its suppose to look when the thumbnails from ‘gall_strip_mc’ are clicked)

    First, you do not use quotes when you are specifying a frame number, so try changing that first.  The only time you use quotes for that argument is for frame label strings.
    If it still won't play, are you sure that the button is coded properly and executes the function when clicked?  You should put a trace in the function to make sure.  Also, you could try using _root instead of _level0... I forget the difference, if any, but _root will definitely get you to the main timeline.
    btn2.onRelease = function() {
         trace("btn2 clicked");
        _root.Gall_Lge_1.gotoAndPlay(2);

  • How to add button inside move clip and call it from main timeline?

    Hi,
    On the main timeline I  have a movie clip called clock_mc and playBtn
    playBtn is  placed in the center of clock_mc
    When you press playBtn clock_mc starts playing
    playBtn.addEventListener(MouseEvent.CLICK, playClock);
    function playClock(event:MouseEvent):void
        if (event.target == playBtn)
            clock_mc.play();
            playBtn.visible = false;
            trace ("play button was clicked");
    This is working fine for me.
    But I want to add replayBtn to the last frame of clock_mc and set up the function on main Timeline.
    Another words when the clock_mc rich last frame you see replayBtn.
    code example:
    replayBtn.addEventListener(MouseEvent.CLICK, playClock);
        if (event.target == replayBtn)
            clock_mc.play();
            replayBtn.visible = false;
            trace ("replay button was clicked");
    I've tryed to placed the replayBtn on the stage on the main timeline and I've set it up to replayBtn.visible = false;
    And then I add replayBtn.visible = true; to last AS frame of clock_mc but it wont work
    Even when I put the button physically to the last frame of clock_mc it will not work either.
    Please help

    I've solved the problem:-)
    I've set replayBtn.visible = false; on first frame of clock_mc
    and  replayBtn.visible = true; at the last frame
    and than as you sugested I'v add:
    clock_mc.replayBtn.addEventListener(MouseEvent.CLICK, replayClock);
    function replayClock(event:MouseEvent):void
            clock_mc.play();
            trace ("replay button was clicked");
    I couldn't see replayBtn at the firs stage because I have clockTween assosiated with clock:
    clockTween = new Tween(clock_mc, "x", Regular.easeOut, -469,438, .5, true);
    and I had replyBtn in the wrong place so when clock_mc was coming up on the stage replayBtn was on the left side of the stage :/
    Now I have to solve only one thing.
    Maybe you would have any suggestions please.
    I've set up stop(); in a first frame of clock_mc
    that when you see clock_mc sliding in it has to wait for playBtn to be clicked
    because I have two tween:
            clockTween = new Tween(clock_mc, "x", Regular.easeOut, -469,438, .5, true);
            playTween = new Tween(playBtn, "x", Regular.easeOut, -720,514, .5, true);
            playBtn.visible = true;
    so when you click on playBtn:
    function playClock(event:MouseEvent):void
        if (event.target == playBtn)
            clock_mc.play();
            playBtn.visible = false;
            trace ("play button was clicked");
    everythink is working fine except when I clik on replayBtn it play for I sec because there is stop(); on the first frame of clock_mc

  • Can't play multiple movies in one window

    I must be doing something wrong. I wanted to watch a series of video clips (all .mov) in quicktime, but not in 10 different windows. Isn't there a way to highlight 10 clips, and then "play all" and have them open up in one window? For some reason, every time I attempt this, I get 10 quicktime players opening up! I'd just like one at a time, and the ability to skip to through the movies like I would do in iTunes with music. I seem to remember doing this before, but now can't remember how. Any ideas?

    The steps are correct but you've left out the one that adjusts the 2 through 9 movies position as compared to the others.
    The first video would hold a position of 0,0 (upper left). When you add the second video you need to adjust its "offset" to position it next to but not overlapping the first. Since your videos are 100X75 you would set the offset of the second track too 100,0 (100 pixels to the right of the original and 0 pixels different in height). The third would be 200,0 offset.
    On the second row your first file would be 0,75 (75 pixels below the upper video). The second file on the second row would be offset 100,75 and the third would be 200,75.
    The third row would be 0,150 followed by 100,150 and 200,150.
    You could add a slight "border" between each video and give it a color by using the bgcolor="your color" (standard html color codes) and adding that space by adjusting the offset plus your border width in pixels. Hollywood Squares style of video.
    http://homepage.mac.com/kkirkster/03war/ one of my older files that uses multiple track video playback of a QuickTime file. The "TV" set is a track and the video that plays "inside" it is another. The still image movies are also separate tracks and QuickTime .mov files can hold up to 99 tracks.

  • Loading multiple swf's in runtime and playing them one after other

    Hi,
    I am looking for help in loading multiple swf's as a playlist and playing them one after other on top of the other, so here even we have to play with display list for the visiblity.
    Tried to load single files but not getting for multiple files, what will be the event with which the dynamically loaded swf switch to other.These file names will be mentioned in XML file.
    Please let me know your thoughts and will be greatfull if anybody can help with the script or any kind of tutorials.

    Hi,
    First of all am thanking you for showing your kind intrest towards this thread, and appreciate for spending time to work out this issue.
    I will explain you in deatil the issue what am facing,I am working on a project where basically dealing with flv player and videos, am trying to play multiple flv videos of a 3d human character who is speaking out a number like 3550.
    Here we are using multiple video files and joining them like videos where character says 3 then 1000 then  5 then 50.
    The issue here is after every video there is a fraction of second where the character is disappearing from the stage which we can't afford because all the numbers have to be played at once to show it as one single digit.
    So thought of trying swf's instead of flv so that we can omit the gap between the numbers, but even in this swf's also having same issue for a fraction of second the character is missing from the stage.
    I am looking for a solution to this, either the way can work out as flv or swf.For flv am trying to edit some player where we can remove the delay between the clips.
    I am attaching new swf where the character is speaking 3 numbers like 3,1000,40.You can notice there is a flicker between the swf's.
    Can we use Display list with which we can omit that gap.
    Looking for your thoughts and help.
    Thank you

  • Multiple movie clips within a button

    I'm having trouble with working a movie clip played one after another within a button. Can anybody help? or is there a simpler way of getting multiple movie clips to play?
    for my project, when you hover over the button and vines grow out. currently, i have one working in a button but i can't seem to get other vines to work.

    use a movieclip (or sprite) button.  you can then control the child movieclips with actionscript.

  • How do i play two sound file one after another

    Hi All,
    How do i play two sound file one after another using single AudioClip Component?.
    Advance in thanks
    Manivel

    AudioClip gives you very little control over what happens to the sound, it also isn't capable of playing long clips or waiting until a clip ends. It will play multiple clips over top of each other.
    To do what you want you should use the facilities of javax.sound. Here's a post with an example: http://forum.java.sun.com/thread.jspa?forumID=513&threadID=450768
    There is also a tutorial, but its example fails for long clips.

  • Multiple Preloaders for Multiple Movie Clips

    Designed in Flash 8, the site's timeline is all in Scene 1
    and is comprised of an introduction, which contains a short video,
    and 6 movie clip categories that the user selects to view. Since I
    want the intro to play as soon as possible, I'd like to limit the
    first preloader to just the video in the intro and not
    _root.getBytesTotal. Then, as the viewer watches this short video,
    the rest of Scene 1 movie clips will keep on loading. After the
    intro, the viewer will choose which of the 6 categories to view.
    These categories are identified with buttons which play the
    particular movie clip. Since I don't know the order of the
    categories they will select, I thought there should be a separate
    preloader for each category. Hopefully, after they view a category,
    the rest of the categories will have loaded and the loading time
    will be nil. The design for the preloader is comprised of a status
    bar and a percent loaded. Is there a way to limit the
    _root.GetBytesTotal to specific frames? I know I could break these
    categories up into separate SWF files but then I loose the
    advantage of one loading while another is being viewed.

    MovieClipLoader is a built in class of functions that will
    allows you to easily load Media (swfs/jpgs) from external sources.
    This will create a MCL object
    var mcl:MovieClipLoader = new MovieClipLoader
    We want the MCL object to receive events for any movie that
    is loaded into the main timeline
    mcl.addListener(this);
    Ok. now we have a movie clip loader that is able to recieve
    events. Since we want to show the progressive download and want to
    do something with that content after it loads, we need to declare
    two event handlers onLoadProgress and onLoadInit. onLoadProgress is
    pretty straight forward. onLoadInit executes it's action as soon
    all of the AS on frame 1 of its time has finished loading. In this
    case, we want two different things to happen. 1st, load the first
    clip and show it.... 2nd, load all remaining clips into the buffer.
    But first, lets declare those next...
    function onLoadProgress( target:MovieClip,
    bytesLoaded:Number, bytesTotal:Number):Void {
    // standard preloader code goes here
    function onLoadInit( target:MovieClip ):Void {
    // display the clip - this will be as easy as just calling
    our loadClip function for the mcl...more on that in a minute
    // If you want something special to happen, i.e. movie fades
    in or a mask is applied to it, you'd do that here.
    Now all we need to do is call the loadClip member function
    for the MovieClipLoader. Just replace the two parameters with the
    location of the swf and then the name of the instance you want it
    to load into
    mcl.loadClip( "myswf.swf", targetMovieClip );
    The other movie clips are now a breeze as well. For each
    button, just add an on(release) or onRelease = function (depending
    on your situation) to just call that mcl.loadClip() line from up
    above. Just change the movie you want loaded.
    Let me know if you need more help...

  • How can I play multiple movies on quicktime like a list format

    ok one more time How can I play multiple movies on quicktime. When i click on open file it will only let me choose one movie to play.For example When ever I used windows media player I could drag my mouse over numerous files and it would play them one after another like in a list format. Can anyone help with this?
    Thank you

    I would like an answer on this also. It gets to be a hassle to play multiple files when playing on the television.

  • How can I play multiple movies on quicktime like I can on windows medplayer

    How can I play multiple movies on quicktime. When i click on open file it will only let me choose one movie to play.For example When ever I used windows media player I could drag my mouse over numerous files and it would play them one after another like in a list format. Can anyone help with this?
    Thank you

    Hi Brennan,
    Only HDMI is going to support audio & video on the single cable. Which MacBook Air do you have? Here's a great article regarding this - http://support.apple.com/kb/HT4241. Also keep in mind that only the current generation of MacBook Airs support this. The previous generation, also with MiniDisplay Port would support HDMI but you'd need to run a separate line from the headphone port over AUX for audio.
    The first and second generation models, which have micro-DVI, do not support audio. Regarding the RCA cables, Apple offers adapters that allow you to go to VGA and that would probably be your best bet. I do not believe there's a MiniDisplay Port to RCA solution out there, you'd need to do multiple adapters and that's always a questionable performance solution.

  • Playing a Movie Clip within a Movie Clip on load

    Hi,
    I'm trying to play a Movie Clip animation that is within a Movie Clip after a button has been pressed in a different Movie Clip.
    The issue is that all Movie Clip animations are playing as soon as the SWF is loaded.
    I have a separate Main.as file that contains all of the coding except for the animation stops:
    package
              import flash.display.MovieClip;
              import flash.events.MouseEvent;
              public class Main extends MovieClip
              var title1:Title1;
              var scene1:Scene1;
              var scene2:Scene2;
              var scene3:Scene3;
              var scene4:Scene4;
              var scene5:Scene5;
              var scene6:Scene6;
              var scene7:Scene7;
              var scene8:Scene8;
              var scene9:Scene9;
              var scene10:Scene10;
              public function Main()
                        title1 = new Title1();
                        scene1 = new Scene1();
                        scene2 = new Scene2();
                        scene3 = new Scene3();
                        scene4 = new Scene4();
                        scene5 = new Scene5();
                        scene6 = new Scene6();
                        scene7 = new Scene7();
                        scene8 = new Scene8();
                        scene9 = new Scene9();
                        scene10 = new Scene10();
                        addChild(title1);
                        title1.buttonStart.addEventListener(MouseEvent.CLICK,onButtonStartClick);
                        scene1.buttonWalkOutside.addEventListener(MouseEvent.CLICK,onButtonWalkOutsideC lick);
              //title
              function onButtonStartClick(event:MouseEvent):void
                        addChild(scene1);
                        removeChild(title1);
                        Scene1(parent).gotoAndPlay("frame1")
              //scene1
              function onButtonWalkOutsideClick(event:MouseEvent):void
                        addChild(scene2);
                        removeChild(scene1);
    So right now, I'm getting this error:
    TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::Stage@46534041 to Scene1.
              at Main/onButtonStartClick()
    Any help is greatly appreciated... I've been grinding at this all night.

    I had been trying a bunch of different methods after searching for clues on Google, so it probably doesn't make sense with the parent.
    I replaced the code with what you wrote, and I am given this error now:
    Main.as, Line 44
    1120: Access of undefined property scene1Text1.
    Is there somewhere I have to declare scene1Text1 in Main.as?

  • Multiple movie clips in variable

    Is it possible to have multiple movie clips inside one variable? I want to be able to just use var._totalframes instead of mc1._totalframes, mc2._totalframes, etc... Or is there another way I can avoid copying and pasting dozens of movie clips over and over? Thanks.

    You can use the bracket notation in a loop to process multiple similarly named objects such as you described...
    for(i=1; i<someNum; i++){
         something += this["mc"+ i]._totalframes // not clear on your intent
    I can't be sure I am answerng your question when you mention copying and pasting movieclips.

  • I want to play multiple speakers off one Airport. is that possible?

    I have an Airport express in my living room, but i want to have wireless music in my kitchen and bedroom. Would i need to buy an amplifier and connect it to the airport or can i play multiple speakers off one Airport OR should i buy multiple Airport's to achieve this?

    You can either use multiple AirPorts or use an audio system that pipes music to speakers throughout the house.

Maybe you are looking for

  • Firefox save dialogue window - qt-gt

    Using kdemod3, compiz/emerald, firefox 3.06 (pgo), have tried both qtcurve and gtk-qt-engine, and most of firefox looks fine, but when i go to save a file, open a file, and some other random dialogue boxes, i get the following: as you can see, no ico

  • How to create christmas scenery nature with using symbol tool in Adobe Illustrator cs6

    created by me... Link >>>> http://www.youtube.com/watch?v=G1WUFoMw_Lk

  • Disabled for 40 years

    My ipod is diabled for 40 or so years. (This happens everytime I shut it off.) Usually, I plug it into my ihome and it works again but it isn't. MY home button doesnt work and I dont want to loose everything on it can someone help??

  • How do you switch between 64 bit and 32 bit? (Win 7)

    I have searched here, Adobe Support, read the User Manual, and can not find any information on how one changes from 64 bit to 32 bit.  I am trying to create Time Lapse sequences and CS 5 tells me I have to be in 32 bit mode.  How do I get there? I am

  • SAP Discovery System (V3)

    Hi Advisers, I'm now exploring the SAP Discovery System, V3 and am looking under the Banking scenario. May I know where can I get more documentation/ demonstration about banking anywhere in the site? I'm having difficulty looking for it in the SAP Ma