Sencing the frame of a movie clip on click

Hello.
I have a project where the user will enter a frame with a movie clip and stop. The movie clip will continuously play a looping animation until the user selects one one the navigation options. After an option is selected I need the main timeline to move to a new frame but I need the movieclip timeline to continue playing at the exact place it was at when option was selected. Is there anyway to do this.
As a side note I originally tried to work around the problem by staying at the same frame in the main time line and just loading movies on top of it. This was not a successful solution as it caused many headaches down the line.
Any advice would be very much appreciated. Thank you.

It's not entirely clear what you want.  In what way will the movieclip continue to play if you move away from the frame it lives in?  It cannot continue to do anything if you move away from it in the timeline.  If you mean that upon returning to that frame you want it to continue from where it left off, then you will need to have a variable that you assign the movieclips currentFrame value to so that you can tell it to play from there.
If you want the movieclip to remain visible and playing, then if you dynamically load the movieclip that you want at that frame of the main timeline, it should remain in view regardless of where you move on the main timeline.  The reason for this being that dynamically loaded content does not have a home on the timeline unless you provide one for it, such as loading into a manually planted empty movieclip.

Similar Messages

  • How to detect the end of a movie clip:  what eventListener to use?

    I'm doing a rather fancy button with up,down,rollover,rollout,and static states, something the standard flash button structure isn't capable of as far as I can tell, and believe me, I've tried it.
    Here's the setup:  My main timeline has a series of frames with stop(): scripts, and each frame has a movie clip representing what should happen during that state:  still, rollover, rollout, mousedown, mouseup
    I can't get the mouseup event  to work.
    Here's what I've tried so far that doesn't work:
    1. in the imbedded movieclip, no script at the end.  Result: This just loops the embedded clip.
    2. in the imbedded movieciip, put gotoAndPlay("NextFrame"), where "NextFrame" is the label in the root movie where I want to go. result: loops clip
    3. in the imbedded movieciip, put root.gotoAndPlay("NextFrame"), where "NextFrame" is the label in the root movie where I want to go. result: error
    I think what I need to do is write an eventListener for the root actionscript, but I don't know what event to listen for. 
    What event is thrown when a movieclip finishes playing?
    :<)McFrisco

    You have to create your own mechanism(s) for detecting the end of a movieclip being reached.  You can either build code into the end of the clip itself, possibly dispatching an event that is being listened for by a containing timeline, or you could continuously monitor the currentFrame of the clip to see if it equals the totalFrames value.

  • I have FCE 4.0.1 and running OS x 10.7.5  when i burn my movie the audio from my movie clips don't come through .  My Sound effects and music can be heard.  I export to Quicktime movie, make it self contained then open IDVD for an intro and burn it.

    I have FCE 4.0.1 and running OS x 10.7.5  when i burn my movie the audio from my movie clips don't come through .  My Sound effects and music can be heard.  First I export to Quicktime movie, make it self contained then open IDVD for an intro and burn it.  everything sounds great in preview but then ( once again)I lose my audio from my movie clips.

    Try Mixing Down the audio before export.
    This info may help;
    https://discussions.apple.com/message/1060680?messageID=1060680&amp%3b#1060680
    Also serch this forum for Mix Down you should find lots of info.
    Al

  • How do I mute the sound on a movie clip that I'm using in iphoto slide show?

    I cant get rid of the sound on a movie clip I'm using in an iphoto slide show. I want to mute it as I'm using music on the slideshow. Thanks!

    Did your Mac come with iMovie preinstalled?
    Then you could export your video, import it to iMovie and remove the audio track. iMovie has two methods to silence a video clip - you can either select the clip in the project and use the command "Detach audio" or chance the audio settings of the clip and set the volume to zero. Then render the video new and import the silent version to iPhoto to use in the slideshow.
    Regards
    Léonie

  • How can i delete the duplicate pictures and movie clips on my macbook pro

    how can i delete all the duplicate pictures and movie clips on my macbook pro. it is telling me i have no memory

    By 'no memory' may I assume you are out of space on your hard drive?
    Obviously you can delete them one by one, but this is tedious and will take a long time and you wish to do this quickly and efficiently.
    This is my suggestion and it may not be worth a lot:
    If all of your duplicates have a unique characteristic common to them that the originals do not, this MIGHT work.  For example if you make a duplicate of an image, it will have the same title as the original, but will insert the word 'copy' in its' title.  (It should do some thing similar with movie clips).
    Go to Spotlight in System Preferences.  Click on Privacy (near the top of the pane) and then the + sign (near the lower left hand corner).  This will result in a drop down menu.  Select all the places you do not want Spotlight to search.  You should leave only Music and Movies unless you have pictures/movie clips in other places.
    Enter into spotlight the unique characteristic (ie; copy) and it should (I hope) list all your duplicates.  Perform a Select All, and put them in Trash.
    Otherwise do them one by one or write an Apple Script Program.
    If my convoluted idea does not work, perhaps you will be lucky and a more savvy person with a real solution will come forth!
    Caio.

  • Dreamweaver CS4 How to play a movie clip by clicking an image

    Hi
    Can anyone recommend a DW Behaviour, Widget or simple piece of Javascript coding that would allow me to start (or start and stop) a movie clip by clicking an image.
    I have a web page created in DW CS4 which has 4 FLV video clips and I would like visitors to be able to start their clip of choice by clicking a small still from each movie stacked at the right side of the page.
    I've seen this done on many sites but don't know how complex it would be.
    Any help / advice much appreciated.
    Thanks
    George

    Hi Ned, thanks for the response;
    1.Yes I named the instance.
    2.I  don't beleive so. I started from the library creating a new symbol, added the graphics, added the key frames, then created the tween. Then I dragged the symbol onto the main stage and named the instance. So I don't think there is a movie clip inside an mc.
    Here is the main timline:
    Here is the mc timeline:
    Here is what I'm trying to do:
    stop();
    blk1._visible = false;
    blk2._visible = false;
    blk3._visible = false;
    ppk1._visible = false;
    ppk2._visible = false;
    ppk3._visible = false;
    storeCartons = new Array();
    storeCartons = [blk1, blk2, blk3, ppk1, ppk2, ppk3];
    startButton.onRelease = function() {
        myNumber = Math.floor(Math.random()*storeCartons.length);
        trace("myNumber "+myNumber);
        activeCarton = storeCartons[myNumber];
        activeCarton._visible = true;
              activeCarton.play();

  • Can I copy a single frame from a movie clip and paste it over a bad blank frame in the same clip?

    I have two frames in my video clip that are solid green.  I would like to copy the last good frame and paste over the green video frames for the movie to play without the green frames popping up. Is thispossible?

    You can install an App called MPEG Streamclip or you can simply pull up the clip in full screen and take a screen shot using (command+shift+3) or using (command+shift+4) to click and drag to create a box around what you would like to take a snap shot of.

  • Detecting the end of a movie clip

    Hi,
    Objective: Display a book that the user can turn the pages to
    view more text. I used a tutorial from the web to create the
    turning page.
    Process: On layer 1, frame 1 of the main time line, I put an
    image of a book. On layer 2, frame 1 and also frame 2 of the main
    time line, I put text for the book. I then created a movie clip
    (MC) called PageTurnMC that looks like a page in the book is being
    turned. On layer 3 of the main time line, I put an instance of the
    MC and called it PageTurn. On layer 4 of the main time line, I put
    a button to play the MC and advance to frame 2 called drawer1cont
    (see code).
    //code on the button used to turn the book's page
    on (release) {
    PageTurn.play(); //plays my PageTurnMC
    gotoAndStop("drawer1cont"); //advance to the next frame of
    text
    Problem: I need to detect when the end of the MC before I
    advance to the next frame. I have to use the PageTurnMC many times,
    so it is not possible for me to put the action in the last frame of
    MC. As of right now, my frame 2 text appears as the PageTurnMC
    plays which is not what I want.
    Thanks for any help.

    I just tested it and got my quick example to work. Here are a
    couple of possible areas to double check:
    In the last frame of PageTurnMC, gotoAndStop must reference
    the main movie clip, e.g. _root.gotoAndStop().
    Also, make sure the parameter _root.frameID isn't in quotes
    because it is a variable, not the actual string.
    As I said, I'm not a Flash expert nor do I know the setup of
    your movie, but this should work as long as you have all of your
    references correct. If you can't get it to work, try to trace
    necessary variables to make sure you are accessing the appropriate
    variable.
    The suggestion by nilu_only will also work, but it will waste
    some cycles because you will have to wait for the movie clip to
    end. Here is what I mean:
    Immediately after playing PageTurn, accessing
    PageTurn._currentFrame will return the currentFrame only once. So
    if PageTurn isn't on its lastFrame, your condition statement
    (PageTurn_currentframe == PageTurn._totalframe) will fail and
    gotoAndStop will never be called.
    Instead, you would need to wait for some time and continually
    check the _currentFrame until the condition statement is true, e.g:
    on (release) {
    PageTurn.play();
    while (PageTurn_currentframe != PageTurn._totalframe) {}
    //wait until reaches the last frame
    gotoAndStop ("drawer1cont")
    This approach is likely to be suboptimal since you are
    wasting cycles checking the current frame instead of just having
    the movie let you know when it has reached the last frame.
    Depending on how Flash handles that while statement, you could have
    serious slowdown from that while statement. And since Flash doesn't
    have a sleep() function, you would have to do some sort of
    setTimeout() to slow down those checks. Either way, I would venture
    to say this approach is better off avoided.

  • Selecting a frame in a movie clip

    Hi,
    A little help is required.
    I have a movie clip, that i need to display on all frames on
    the main timeline. I have animated the movie clip on its own
    timeline. However I don't want the movie clip to play intially when
    i load the movie. I only want it to play when a button is selected.
    Can anyone please help me to get the movie clip to only play once a
    button is clicked.
    Thanks

    I have all my movies etc working so that each button plays a
    separate movie clip.
    Within each movie I have start and stops mid way through the
    movie.
    What i want to happen is, when a button is clicked once, i
    want it to play frame 2-10 then when it is clicked again I want it
    to play 11-20. How do I make it recognise its a second click. I was
    thinking of using the boolean feature, but i'm not sure how this
    would be used.
    Can anyone help point me in the right direction?

  • Goto frame in parent movie clip

    I have a movie clip nested with in another movie clip. I was
    wonder how i would do a on (release) gotoAndPlay command that would
    be able to take me to a frame in the parent movie clip. How do i
    jump back the parent movie clips timeline?
    thanks,

    myChildBtn.onRelease=function(){
    myParent.gotoAndPlay(frame);
    Dan Mode
    --> Adobe Community Expert
    *Flash Helps*
    http://www.smithmediafusion.com/blog/?cat=11
    *THE online Radio*
    http://www.tornadostream.com
    *Must Read*
    http://www.smithmediafusion.com/blog
    "tloughlin design" <[email protected]> wrote
    in message
    news:ecvf7u$4o0$[email protected]..
    >I have a movie clip nested with in another movie clip. I
    was wonder how i
    > would do a on (release) gotoAndPlay command that would
    be able to take me
    > to a
    > frame in the parent movie clip. How do i jump back the
    parent movie clips
    > timeline?
    >
    > thanks,
    >

  • Where is the date for my movie clips?

    In the previous version of iMovie when you clicked on a movie clip you could see the date near the preview window. Now in iMovie 6 you have to double click on the clip to get the date info. Anybody else notice this. I thought it was useful to have the date there for putting clips in time order...
      Mac OS X (10.3.9)  

    Notice that the displayed time is the value of the very first frame of the underlying media clip. I.e. if you split the clip at the playhead, ALL the splitted clips still point to the same time.
    iMovie 2.1.2 did this right by always showing the correct time even with splitted media clips!

  • How do I remove a the contents of a movie clip created using loadClip?

    I have a Flash site that loads specific SWFs into a movie
    clip called "content_mc" based on a button click. I do this using
    the "loadClip" method. I then remove (I thought) the SWF from the
    movie clip with "unloadClip" and replace it with a new SWF using
    "loadClip." All seemed to be working fine, but now I see that
    scripts from a SWF that I thought I unloaded are still running.
    I'm sure this is due to my lack of understanding of what
    "loadClip" and "unloadClip" are doing. And there certainly may be a
    better way to do what I want to do... but such is life. What is the
    method to delete a the contents of a movie completely from memory?
    or is there a better way to do what I want to do?
    Thanks for your help,
    David

    Nope you understand more or less correctly. unloadClip takes
    away the contents that loadClip placed. However there are certain
    things that don't go away.
    My guess is that you have some setIntervals. Those must be
    cleared (clearInterval) before you do the unloadClip.
    Or perhaps you have set up some listeners? Again those must
    be removed.

  • In the time line, cutaways and titles are supposed to be linked on the top side of movie clips in the time line window.  I don't know what I did, but now they are linked to the bottom side.  How do I get them up to the top where they belong?

    I'm working on a movie in FCP and using cutaways and titles in many places in the timeline.  While working on a movie 2 days ago, and I don't know what I did, all the cutaways and titles are now linked to the movie clips from below rather than above.  When I "grab" them and drag them up to the top-side, as soon as I "release", they go back down.  Along the menu bar, I've check the "view", "modify", "clips", etc., looking for any thing that might refer to appearance of the time line.  What must I do to get the cutaways and titles back on top where they belong?  The audio clips remained properly-linked to the time line and play properly.  The cutaways and titles can be seen but do not play. 

    The cutaways and titles should be linked above the timeline clips, not below

  • AE How to Change the color of a movie clip?

    I have a movie clip of a White Show Avalanche. How can I change the color from White to another earthly color. I would like to post 2 images, one still of the white avalanche and one still image of the color or look I am after. Can you post or attach images to this thread? If so how?
    I am not just trying to change the Hue/Saturation.

    To elaborate on Ko's post: In RGB space, White is presented by full values of 1 (or 255, if you like that better) for Red, Green and Blue. Since there's no differential between the individual components, there's nothing to shift the Hue. Hence you will have to find alternate ways of recoloring your stuff.
    A simplistic way would e.g. be using effects such as Tint, Tritone or Colorama based on the Luminance. A more elaborate way would be cutting up the whole thing in multiple pieces (debris, shadows, waves, edges) and color correct each part individually. In any case you will very likely have to work with multiple instances of your layer and apply some masking here and there.
    Mylenium

  • Creating New Menus that follow the playing of a movie clip

    I was wondering if it is possible to have iDVD display a new menu after playing a movie clip off of the first menu. Then from that second menu if it would then be possible to play a new movie clip.
    Essentially I want to create a progressive DVD where after each movie clip there is a new menu with new options. I just wanted to know if that was possible and if so, how I would go about accomplishing it.
    Thanks
    iMac   Mac OS X (10.4.5)  

    I don't think you can do it with iDVD. I wonder if you can even due it with more professional tools, but keep in mind that iDVD is meant as a simple consumer grade application to help people get their home movies on DVD. It is not really meant for anything more fancy than the basics to do what it does.
    My guess if your movie will end and either it defaults to the main menu or at best, the menu you entered the movie from. I don't think there is anyway to have a DVD player know where to go (somewhere different) at the end of a movie.
    Patrick

Maybe you are looking for

  • Open APPS  form in enter-query mode

    Hello all apps version 11.5 i've created a shourtcut link that opens a specific apps form on specific responsability like http://<server_name>:8001/OA_HTML/RF.jsp?function_id=4893&resp_id=50239&resp_appl_id=551&security_group_id=0&lang_code=US the pr

  • Material serial number creation

    Hello, I have a scenario in setting up serial number for material. I am presently working on data migration from legacy system to SAP. Materials in legacy system has serial numbers assigned to it. I am migrating service contracts with service materia

  • Can't upgrade CAMERA RAW in PS cs5

    Unable to updgrade Camera RAW in PS CS5.  have upgraded the application manager to no avail.

  • Graphite with broken CD drive how can I install OS

    Hi I have a friend that was given a graphite ibook but it was acting really flaky, I played with it for a week and came up with the following problems; the hard drive was really slow and clicking, CD drive didn't work and battery didn't hold a charge

  • TOC - removing one dot after an entry (before the dot leader)

    Can anyone help me with an issues I'm having with the TOC in InDesign?  I'm working in CS5, but I've had the same issue in CC. Here's what's happening: I have a TOC for figures that show up in a document. Each figure has a caption (for example: Figur