Pausing the timeline on Press

Hi, I found many similar topics, but nothing like this. For a
project I am working on I want to be able to click on a movieclip
and pause the _root timeline until another movie clip is pressed
which will resume playing the movie. I was hoping this would be as
simple as a Stop and PLay function but i know its much more
complex. Could someone please help me with this code. It would be
greatly appreaciated. AS2 please as I am not accustom to AS3 and
the project is AS2.
Thanks alot,

Actually, it's not much more complex than you are hoping.
What have you tried?

Similar Messages

  • How do i pause the timeline cursor at the point where i press the spacebar

    Right now the cursor always goes to the start of the timeline after i press the spacebar.

    You have received 40 or so views in less than an hour. Sometimes it takes days for other suers to drop by and your post is arriving during the start of a long holiday weekend in the Sates so it might not be till next week befor someone who really knows how to answer this shows up. Your post is being viewed by people who want to know if you are serious but have no help to offer. Woudl you rather they posted nonsense? I have never had AE jumpt back to the start of the timeline and posting that information does not help you. I can assume you have a some sort of pref incorrectly set or your keyboard has been tweaked at the OS level to interpret a spacebar in AE as a Media Start command.
    From the AE help system:
    To modify keyboard shortcuts, use the KeyEd Up script from Jeff Almasol, which is available on the Adobe After Effects Exchange website.
    Sebastien Perier provides instructions on his website for assigning keyboard shortcuts to scripts so that you can run a script with a single keystroke. This technique relies on the KeyEd Up script.
    For information on remapping keyboard shortcuts for keyboard layouts other than the standard US English layout, see Jonas Hummelstrand’s website.
    For a reference of keyboard shortcuts, see Keyboard shortcuts reference.
    Note: On Mac OS, some keyboard commands for interacting with the operating system conflict with keyboard commands for interacting with After Effects. Select Use System Shortcut Keys in the General preferences to override the After Effects keyboard command in some cases in which there’s a conflict with the Mac OS keyboard command.
    Time navigation (keyboard shortcuts)
    Go to specific time
    Alt+Shift+J
    Option+Shift+J
    Go to beginning or end of work area
    Shift+Home or Shift+End
    Shift+Home or Shift+End
    Go to previous or next visible item in time ruler (keyframe, layer marker, work area beginning or end)
    Note: Also goes to beginning, end, or base frame of Roto Brush span if viewing Roto Brush in Layer panel. 
    J or K
    J or K
    Go to beginning of composition, layer, or footage item
    Home or Ctrl+Alt+Left Arrow
    Home or Command+Option+Left Arrow
    Go to end of composition, layer, or footage item
    End or Ctrl+Alt+Right Arrow
    End or Command+Option+Right Arrow
    Go forward 1 frame
    Page Down or Ctrl+Right Arrow
    Page Down or Command+Right Arrow
    Go forward 10 frames
    Shift+Page Down or Ctrl+Shift+Right Arrow
    Shift+Page Down or Command+Shift+Right Arrow
    Go backward 1 frame
    Page Up or Ctrl+Left Arrow
    Page Up or Command+Left Arrow
    Go backward 10 frames
    Shift+Page Up or Ctrl+Shift+Left Arrow
    Shift+Page Up or Command+Shift+Left Arrow
    Go to layer In point
    I
    I
    Go to layer Out point
    O
    O
    Go to previous In point or Out point
    Ctrl+Alt+Shift+Left Arrow
    Command+Option+Shift+Left Arrow
    Go to next In point or Out point
    Ctrl+Alt+Shift+Right Arrow
    Command+Option+Shift+Right Arrow
    Scroll to current time in Timeline panel
    D
    D
    To the top 
    Previews (keyboard shortcuts)
    Start or stop standard preview
    spacebar
    spacebar
    RAM preview
    0 on numeric keypad*
    0 on numeric keypad* or Control+0 (zero) on main keyboard
    RAM preview with alternate settings
    Shift+0 on numeric keypad*
    Shift+0 on numeric keypad* or Shift+Control+0 (zero) on main keyboard
    Save RAM preview
    Ctrl-click RAM Preview button or press Ctrl+0 on numeric keypad*
    Command-click RAM Preview button or press Command+0 on numeric keypad*
    Save RAM preview with alternate settings
    Ctrl+Shift-click RAM Preview button or press Ctrl+Shift+0 on numeric keypad*
    Command+Shift-click RAM Preview button or press Command+Shift+0 on numeric keypad*
    Preview only audio, from current time
    . (decimal point) on numeric keypad*
    . (decimal point) on numeric keypad* or Control+. (period) on main keyboard
    Preview only audio, in work area
    Alt+. (decimal point) on numeric keypad*
    Option+. (decimal point) on numeric keypad* or Control+Option+. (period) on main keyboard
    Manually preview (scrub) video
    Drag or Alt-drag current-time indicator, depending on Live Update setting
    Drag or Option-drag current-time indicator, depending on Live Update setting
    Manually preview (scrub) audio
    Ctrl-drag current-time indicator
    Command-drag current-time indicator
    RAM preview number of frames specified by Alternate RAM Preview preference (defaults to 5)
    Alt+0 on numeric keypad*
    Option+0 on numeric keypad* or Control+Option+0 (zero) on main keyboard
    Show current frame on video preview device
    / (on numeric keypad)
    / (on numeric keypad)
    Toggle Output Device preference between Desktop Only and video preview device
    Ctrl+/ (on numeric keypad)
    Command+/ (on numeric keypad)
    Take snapshot
    Shift+F5, Shift+F6, Shift+F7, or Shift+F8
    Shift+F5, Shift+F6, Shift+F7, or Shift+F8
    Display snapshot in active viewer
    F5, F6, F7, or F8
    F5, F6, F7, or F8
    Purge snapshot
    Ctrl+Shift+F5, Ctrl+Shift+F6, Ctrl+Shift+F7, or Ctrl+Shift+F8
    Command+Shift+F5, Command+Shift+F6, Command+Shift+F7, or Command+Shift+F8
    Note: Some shortcuts are marked with an asterisk (*) to remind you to make sure that Num Lock is on when you use the numeric keypad. 

  • Interactive widgets and pausing the timeline

    I'd like to create an Interactive type widget that pauses at
    the end of its time on the timeline like a click box does, but as
    far as I can tell, any widget that returns true for isInteractive()
    is going to automatically pause the Captivate movie near the
    beginning of the widget's time on the timeline.
    Am I missing a setting, variable or function that affects
    pausing? "Pause for failure/success" doesn't seem to have any
    effect, and I can't find anything in the widget documentation that
    mentions the pausing behavior.

    I found the setting. It's the "Pause after" field in the
    Widget dialog box on the Options tab. Don't know how I missed that.
    However, I'd still be interested to know if there's a way to
    set this value from within the widget.

  • Pausing the timeline

    I am using this script in the first frame that needs to be
    paused:
    stop();
    var theTimer:Timer=new Timer(4000);
    theTimer.addEventListener(TimerEvent.TIMER, timerNx);
    theTimer.start();
    function timerNx(e:TimerEvent):void{
    play();
    theTimer.reset();
    In the subsequent frames that need to paused I am using this
    script:
    stop();
    theTimer.start();
    This works fine as long as I don't need to pause longer than
    4 secs each. However, each frame that has a pause may need to be a
    different amount of time. How do I go about doing this without
    confusing the heck out of myself?

    Yes, that is what I am looking for, to set the increment as I
    go along. I shall try this. I wish I could wrap my mind around
    Actionscript as well as you. I'm a designer and so therefore, quite
    prone to looking at this coding as some alien language. I'm hoping
    with enough practice, I will be able to get the hang of it
    eventually. Thanks!

  • How do you mark a section from the timeline to send to Compressor 4 using Final Cut Pro X?

    I am trying to send just a certain piece from the Timeline to Compressor 4 using Final Cut Pro X and I can't figure it out. Please help!

    jakelovesanna wrote:
    The video itself is intirely 5 minutes, but the timeline goes to 24 hrs.
    24 hours?
    If you select the timeline and press Shift+Z do you see a lot of black space in the timeline? If so, you may have a huge gap clip (although I fail to understand how you achieved it). Click on it and if it can be selected, delete it with the Backspace Key (next to the = key).
    Then press Shift+Z again.
    If I've got this wrong, can you post a screen grab of your timeline?
    Andy

  • How can i render just  section of the timeline?

    Is there i way of setting the IN and OUT points in the timeline and pressing "cmd + R" and render only the selected section? or something like it?
    thank you
    Leon.

    You can also do select In->Out (opt a) and render just a portion of a clip.
    Patrick

  • My iPod automatically pauses the videos whenever I press play. How can I fix it?

    My iPod automatically pauses the videos whenever I press play. How can I fix it?

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Unsync all videos and resync
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up                                                                
    - Restore to factory settings/new iOS device.
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar                       
    Regarding points see:
    Apple Support Communities - Reputation, status levels and privileges

  • Fcpx - after selecting part of a clip, marking in and out, pressing the e key does not add it to the timeline.  what do I do?

    At the Mac store they showed me how to select part of the clip, Mark in an out, and then use the key board shortcut, the E, to move back down to the end of the timeline. At home it refuses to do that. I can't even drag it down. I am using Snow Leopard, not lion. Can anybody tell me why I can't get the material down to the timeline except as an entire clip?

    I was stuck in this exact same position yesterday, and wow was it ever frustrating. I can't remember the exact steps I stumbled upon to figure it out, but basically you need to create a "project" (not a "sequence" like you'd think - there is no "new sequence" command in FCP X) and that "project" will in fact be the sequence you are able to add your selections to.
    The same real estate the sequence lives in is also where the "project library" lives, which will overtake your sequence if invoked - look to make sure the film reel icon at the bottom left of the screen is not active (blue). If it is active, click it to make the project libary go away.
    I'm still struggling with FCP X as a long time professional FCP 7 user, and from what I've read this isn't uncommon. Best of luck getting past these fisrt few awkward hurdles and onto the actual editing (which, I have to say, so far I am having a hard time being precise or creative with).

  • Pausing a timeline

    I want to be able to pause a movies timeline for 3 seconds,
    then have it start playing again.
    I appreciate any help you could give me.
    Thanks

    Hi,
    Pausing the main timeline
    The key to this project is understanding Flash’s wrist
    watch. If you have an analog wrist
    watch, the minutes are marked around the dial and the second
    hand ticks around the dial.
    Flash doesn’t have a second hand, it has a millisecond
    hand; and the watch face is not
    divided into minutes or seconds—there are 1,000 little
    division marks.
    Instead of a millisecond, think about a mouse click. There
    are actually two things involved
    in that event. There is the event in which the mouse button
    is down and the event in which
    the mouse button is up. How fast that happens is dependent on
    the amount of time you
    use to press and release the button. In Flash, we can capture
    that small amount of time and
    turn it into an eternity if we so choose. Same thing when you
    let go of the button. When it
    comes to working with time in Flash, the unit of measure is
    the millisecond, and we can
    turn a millisecond into an eternity (which, incidentally, is
    not a good idea).
    In this exercise, you are simply going to tell Flash,
    “When you hit this point on the timeline,
    hang around for two seconds before moving on to the next
    millisecond and doing what
    needs to be done.” Here’s how:
    1. Open the PauseTimeline.fla file. If you scrub the playhead
    across the timeline,
    the box, thanks to the tween, gets bigger.
    2. Add a keyframe to frame 15 of the scripts layer. Select
    the keyframe and open the
    Actions panel.
    3. Enter the following code into the Script pane:
    this.stop();
    This is the line that stops the playhead from moving forward,
    and it is also the line of code
    that can turn a millisecond into an eternity. If you stop the
    playhead, have a solid plan in
    place to get it back in motion.
    4. Press the Enter/Return key, and enter the following code:
    var timelinePause:Timer = new Timer(2000, 1);
    timelinePause.addEventListener(TimerEvent.TIMER,
    timerHandler);
    timelinePause.start();
    The first line tells Flash to create a Timer object. In
    ActionScript, when you use the class
    name followed by parentheses, you are creating what is called
    a constructor, which is a
    fancy term for an instance of a class. The numbers between
    the parentheses tell Flash the
    duration of the timer (2,000 milliseconds, or 2 seconds) and
    how often to wait around for
    that 2 seconds. The 1 means “only wait for it
    once.”
    NOTE: There are two ways to create object instances. If it is
    a movieclip, button, or text field,
    it can be created on the stage or dragged onto the stage from
    the library by hand.
    Programmatic instances need to use a constructor.
    The next line tells Flash what to do when the two seconds are
    up; which is to execute a
    function named timerHandler. The final line tells Flash to
    reset the timer, and start the
    timer if it isn’t already running.
    5. Press the Enter/Return key and enter the following code:
    function timerHandler(evt:Object):void {
    this.play();
    As you may have guessed, this is what happens when Flash
    waits around for the 2 seconds.
    The play() method simply tells the timeline to start playing
    again (see Figure 4-21).
    6. Save and test the movie. The box will grow, stop growing
    for 2 seconds, and then
    continue to grow.
    this.stop();
    var timelinePause: Timer = new Timer(2000, 0);
    timelinePause.addEventListener(TimerEvent.TIMER,
    timerHandler);
    timelinePause.start();
    function timerHandler(evt:Object):void{
    this.play();
    Hope this helps you out ;)
    Kind Regards,
    Boxing Boom

  • Greetings, I am working in Final Cut Pro 7. In the timeline some clips show as offline. I tried going to sequence and reconnecting to media but it does not work. I can still see the video in the timeline and work with it. It just has the red box.

    Greetings, I am working in Final Cut Pro 7. In the timeline some clips show as offline. I tried going to sequence and reconnecting to media but it does not work. I can still see the video in the timeline and work with it. It just has the red box. Thanks! Olga

    If the clips are not actually missing, you could try to refresh the timeline by using cmd-0 and then going to the timeline options tab. Then select name only where it says "thumbnail display". Press ok to accept the change, then repeat the process to add thumbnails back to your timeline.

  • Multicam Clips in the Timeline and Image Stabilization

    I've got a multicam clip in my timeline that I would like to use image stabilization on. What I'd like to do is:
    double click on the clip which brings up the angle editor with the range and angle selected.
    press cmd-B to blade the clip
    turn on image stabilization.
    Unfortunately, step one doesn't work. I'm forced to open up the angle editor and manually skim and search for the desired angle and time range. It would be okay if the playhead in the angle editor was slaved to the one in the timeline. Then when you went into the angle editor you'd be right at the desired source material, but no, the two seem to be independant of each other. It makes performing the task much slower and more tedious. So much so I am convinced more experienced users are going to know a quicker way to do it.
    So, does anyone know an easier work-around for this?

    Thank you Tom and Luis, but I'm not with any of this. I can add a clip to the timeline or insert a clip into it via the "arrow tools". If I attempt to shorten the clip IN the timeline there is a blank space representing the amount trimmed from the clip.
    I want the next clip along to that I've trimmed to automatically move along the timeline albeit shortening the total project duration.
    Pressing "A" on the keyboard doesn't achieve this.
    I simply click on the clip in the timeline  to highlight it with the yellow margin. I then click on one "edge" with the arrows symbol and drag the edge inwards. This then leaves the space I do not want.
    As for "Preferences" when I click this under "Final Cut Pro" i see nothing either relevant to this problem or that I could trash.

  • Slide order in the timeline

    I have been shown how to do a very specific task in Flash Pro CS5. I have five slides in my timeline, with buttons that include links to product pages on our website. These five slides comprise a movie, with each slide being displayed for a few seconds and it repeatedly cycles through the five slides in a banner at the top of our home page.
    In addition there is a navigation bar below my slide images with a play and pause option, plus the five slide numbers so the viewer can navigate from slide to slide manually.
    I have been asked to change the order of the slides so that slide #5 now becomes slide #1 and slide #1 becomes slide #2, and so on. I can easily switch the images and links so that the slides are in a different order in my file, but now the navigation bar below does not work. In the Actions panel, the #1 button in the navigation bar still appears to be linked to slide 1, which now has the new images, yet the nav bar does not respond to clicks anymore.
    How was my nav bar disabled when I switched the images and links around between the slides? and how can I correct this?
    (Keep in mind, I know NOTHING else about Flash except how to replace the images and change the button links in each slide, which I do monthly, as this is the top banner on our website.)

    Thanks so much for your reply, Rob.
    The slides are on the timeline and each one is displayed as the playback head moves from one frame to another. I do this in my file by dragging the red rectangle with the red line extending from below it across the timeline, which is on a layer that the original author named MC Content. However, when I go to the layer called Scene 1 where the navigation bar is, the red rectangle at top will not move when I try to drag it.
    I don't know what the action script does except to link my button to a page on our website. The code looks like this for slide 1.
    slide1_1_btn.addEventListener(MouseEvent.CLICK, myButtonFunction5_1);
    function myButtonFunction5_1(event: MouseEvent) {
    var request:URLRequest = new URLRequest("http://www.tobaccofreecatalog.org/ProductDetails.aspx?id=2&itemno=J660");
    navigateToURL(request,"_self");
    I don't know if the slides use actionscript to show and hide each one.
    Now that I look at it, maybe all I need to do is change myButtonFunction5_1 to myButtonFunction1_1 on the above code?
    I don't know how to answer your last question. The individual images for each slide are jpegs I created in InDesign, but I don't know how they are referenced or what that means.
    Colleen

  • Can I zoom in on a specific point on the timeline

    There must be a way for me to zoom in on the timeline without losing my place everytime while doing so.
    Is there a button I can press while zooming in that will keep the scrubbing point within my view of the timeline.
    I really hope that made sense...
              Patrick

    patrickmbarker wrote:
    what is the CTI?
    Playhead.
    CTI is what they used to call it: current time indicator.
    If you hold alt and scroll with the mouse it will zoom in on the playhead.

  • Navigating the Timeline from Movieclip

    Hi there
    I'm hoping someone can help me with this. I have created a
    scrolling image gallery in Flash which works fine from the Timeline
    (Scene 1). Now I am using it inside a movie clip called gallery I
    need to know how to get it to load the images into the main loading
    area now that it is within a movie clip. The code that makes the
    images load into the loading area at the moment is this
    on(press){
    _root.the_entire_gallery.gotoAndPlay("pic5");
    I'm assuming that now it is inside a movie clip I need to add
    something other than _root. to get it to access the images but I
    don't know what. I've tried _parent but to be honest I'm clutching
    at straws as I don't really understand what it does.
    Hope someone can help.
    Thanks

    Hi there
    I have tried both the solutions you suggested without any
    luck. Is there a way I can send you a copy of the fla and you will
    be able to see how it is set up?
    Perhaps a simpler example is the button inside the gallery
    movieclip, this doesn't work from inside here either it has the
    following code on it ...
    on (press) {
    _root.gotoAndStop("sketchbook");
    ...that let's it work from the main timeline but now that the
    frame label "sketchbook" is inside the gallery movieclip how do I
    get it to reference that because nothing is happening as I take it
    _root. is pointing it to the main timeline?
    I have tried on (press) { gallery.gotoAndStop("sketchbook");
    I know it all works if I don't put it into a movieclip but I
    want to have everything neat and tidy on the timeline. It would
    really help to be able to send you the fla.
    Thanks, Jo

  • Premier Pro v7.0 : Missing Sequence Tab in the Timeline

    I have two sequences named Blue and Green in my project.  Both were represented by tabs in the Timeline.  One of these tabs (the Blue Sequence) has disappeared so that I can no longer access the relevent timeline sequence for any further work on it.  I have added a third empty sequence called Sequence 03 simply for illustration purposes.
    I have obviously pressed the wrong key at some point which has caused all this data to disappear but I can find nothing in the help information here or online that can identify the fault.   The screenshot appears below.

    Many thanks ; problem solved.

Maybe you are looking for

  • How to move pics from camera role to photo stream?

    How to move pics from camera role to photo stream?

  • IPhone 4 crackling and grainy white noise!!??

    I have recently had my iPhone 4 replaced because of terrible noise interference during calls to the point where the sound totally went off....I have had my new iPhone 4 for 3 weeks, last week it started to make funny noises! Really loud crackling dur

  • Contract from centralized purchase organization without company code

    Hi Experts. We have six company codes And having one centralized purchase organization and it is not assigned to any company codes While creating contracts all company code uses this centralized purchase organization. My question is :- I want to crea

  • FV60-Deletion of parked document

    Hi, I am deleting the document (parked) and when I delete then it is showing success message. But it is not deleted. Could you please suggest me what to do?? Thanks..

  • Won't build if systemtray functions added.

    I tried different code to test and all end up leaving flex builder not able to build release. I am using Flex Builder 3. I tried Flash Builder 4, but it doesn't let me create custom chrome easy. Any way to fix the building process?