Flash calling movie clip

Posted on 2005-04-05
Last Modified: 2010-04-03
Hi i have my animation going along

MC 1
When at frame 20............i want to call another movie clip MC 2
     empty.attachMovie("att_circles", "newname2", 1);
     This rotates some cirles..........and is 25 frames in length

When im at frame 20 in first MC 1
   I want to stop playing until the MC2 circles have finished then continue

How do i do this.
Do i have to extend the MC 1 frame 20 to include 25 frames cater for the 25 frames in mc
Question by:TRACEYMARY
    LVL 18

    Expert Comment

    no, if you are attaching from mc1, just put a stop();
    on that same frame that you do the attachMovie from, and then at the end of the mc2 (last frame), put a _root.mc1.gotoAndPlay(nextFrame);

    LVL 16

    Expert Comment

    In mc1 just put a stop(); action at frame 20

    Then at the end of mc2 put the action:;

    LVL 18

    Accepted Solution

    sorry, that's
    _root.mc1.gotoAndPlay("resume");//where resume is the frame label for the frame following the one with the stop(); in it, or
    _root.mc1.nextFrame();//which should do the same thing, moving it to the following frame from the one it is currently on.

    LVL 7

    Author Comment

    by:TRACEYMARY it........................
    I like the label idea i see exactly where im loaded it then resume it.

    Great....getting the hang of all this.

    LVL 18

    Expert Comment

    glad to help:) How are the books going?
    LVL 7

    Author Comment

    I have a subscription to on-line i can pick say 10 books and read them....i got boss to pay for it.
    But it don;t give you little bits like the question above.  I managed to understand the little circle in the images for moving parts of the image...

    Some of the action script is over my head but thats because i don't know the language syntax....i can code so i can understand the logic which is good......(i quite like making things visible with the action script rather than doing the properties).....
    Got the preloader to do next.......

    I got my first little project im working on with people walking through a shelter boss wanted it just still so i drew all the characters in illustrator now im moving them around the various dividers and having pull down windows where they get unchanged to take a shower....i got the rain to do for the shower so that be fun........(our company sell decontaimation shelters that why i make the people take the clothes off to take a shower).

    He wanted 3D...(im like that will cost you 3grand for 3dmax or maya)...and some training for me.....I looked at both they are just great.........i like to do that also........but i not got 3 grand spare.

    I appreciate your help and everyone elses........

    I be back lol................

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Join & Write a Comment

    Suggested Solutions

    I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
    While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
    The goal of the tutorial is to teach the user how to how to record live broadcast.
    This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now