Simple pause?

Hi all-
I'm trying to figure out how to do something that seems
radically basic...
I have 48 frames. I want to play to frame 24, pause for 10
seconds, then keep going...
Looked around for a simple way to do this.. there must be
one...
Any help appreciated-
thx
Andrew

the simplest thing to do is play the 24 frames. copy the 24th
for 240 frames (depending on your fps settings) and then go on...
There is also a script that makes kind of a timer and you can
do a function at the end of the established time (i actually got
the script here in the forums)
but that one depends entirely on the computer clock, so those
10 seconds might be relative!
I'll attach the code as i have it, review it and make your
changes for it to work on your project!
Hope Helps

Similar Messages

  • Simple Pause/Play/Resume in timeline not audio

    So sorry if this is simple. I HOPE it is simple, it should be simple.
    I have a very simple looping timeline. I just want to create a TOGGLE function so that the user can pause and resume. Like a freeze frame. Or the space bar in some movie editing programs. Simple PAUSE.
    http://colorisrelative.com/RichMedia/templateROTATING.swf
    Everything I find for pause is a pause for a defined duration-- then it resarts on its own.
    I want to pause on the current frame and restart on the current frame when the user clicks.
    (or I keep finding stuff for video and audio). I am hoping there is real simple solution. I am really bad at actionscript. The following is the exent of my knowledge of actionscript:
    (click to start)
    http://colorisrelative.com/RichMedia/template3as2moosh.swf
    So thank you for letting me know if there is a simple pause/play toggle function!!!

    Thanks for showing the code you understand.  For what I'll offer, the approach is to use a variable that keeps track of what state the movie is in (paused or playing) and use that variable to decide how to make it the opposite of what it currently indicates.
    On the timeline create a variable:  var pausePlay = false; // this is if the movie starts plyaying right away without clicking anything
    Create a button that covers the whole stage like you did for the second exmple.  Add this code to the button:
    on(release){
         if(pausePlay){
              play();
              pausePlay = false;
         } else {
              stop();
              pausePlay = true;

  • Help with a simple pause-code function

    For a week I've been trying to figure out a simple pause-code
    function fror AS 3.0. I need something that pauses AS code for set
    amounts of time. People have tried to help me on this forum, but
    I've still not been able to make the code work.
    Here is what I have at the moment for pause-code (not
    working):
    var intID;
    intID = setInterval(delay, 3000); //this tells flash to wait
    3 seconds
    function delay(){
    clearInterval(intID);
    _root.gotoAndPlay(1); // or do something else...
    The person who supplied me with this code did not include the
    first line "var intID", but as a new flash user, I wasn't sure how
    else to declare intID. Could someone with some flash experience
    walk me through the steps of creating a pause-code function or add
    to the one I have already provided. When I use the above code in my
    flash document, the pause feature does not work at all. It
    essentially skips over the setInterval and clearInterval functions
    and plays the root clip in delay(). I need code meant for AS 3.0
    and I'm becoming increasingly desperate for a response.
    I hope this is understandable and thank you for taking a
    look,
    Sam

    Hello KGlad,
    Thankyou for that information. I had no idea lol. Could you
    please clarify and explain a little more about using the timer
    class to delay execution of code? Possibly provide an example? I
    would be very grateful.
    Thanks,
    Sam

  • Help with simple pause and speed titles

    New at imovie.
    I can't figure out how to get a title to appear over a black screen whether bouncing or appearing in the center and stay there. Either it goes to fast or there is this long pause after it arrives to fast and leaves to early.
    Where can i get some detailed information on the pause and speed options.
    Thanks

    Hi Jim:
    These amy help you:
    Adding Titles
    http://www.apple.com/ilife/tutorials/imovie/im3-5.html
    manuals.info.apple.com/en/iMovieHD_6_GettingStarted.pdf
    Adding titles or text
    http://docs.info.apple.com/article.html?path=iMovie/6.0/en/imv1022.html
    Sue

  • Stereo Bluetooth - no support for controls and other issues

    I have tried 2 stereo headsets now and both have the same issue. No controls other than Vol +/- are supported. Pause/Play doesn't work and >| and |< don't work. It's pretty clear that the 3.0 software doesn't support these functions.
    One Headset is the new Sony BT100CX. The other is Insignia.
    Are others getting the same results?
    I also get some bizarre results with the Stereo Headset, like no audio in one direction on a phone call. Then when I switched to iPhone from Bluetooth and hung up, the call actually stayed open! Another time I connected to the Sony BT and got constant static.
    I spent a long time talking to a nice but not very knowledgeable gentleman at Apple Support who consulted an "specialist." The specialist did not seem to know whether these controls are supported or not. It is bizarre that Apple is paying so little attention to bluetooth. Having waited years for decent bluetooth support, you would would think they would want to get it right when they finally put it in, but they leave out VERY valuable features. And they don't even seem to know that they left out these features. A simple pause in the iPhone in Ipod mode is a PITA. With the Bluetooth stereo profile it should be easy.

    Thanks. That page says the 3G supports the AVRCP profile, http://en.wikipedia.org/wiki/Bluetoothprofile#Audio.2FVideo_Remote_Control_Profile.28AVRCP.29. Version 1.0 of the profile includes pause/play etc. It is clear that although they claim support, it does not work.
    Are others not having this issue?

  • H.264 Movie Controls AS3

    Ok, so I'm toying around with using the new flash player
    instead of quicktime... so far so good. The only probelm is that I
    cannot get playback controls to work.
    Here is the action script I have for the movie:
    var nc:NetConnection = new NetConnection();
    nc.connect(null);
    var ns:NetStream = new NetStream(nc);
    myVideo.attachNetStream(ns);
    var listener :Object = new Object();
    listener.onMetaData = function (md:Object):void{};
    ns.client = listener
    ns.play("EP1-HD.mov");
    Right now all I have is a swf file that plays the movie with
    no controls.
    How do I get a simple pause/play/seekbar/volume controller to
    work with this...? I have always embedded flv's and its pretty
    straight forward. Anyone come across some good tutorials on this?
    Thanks,
    Scott

    Ok, so I got it working... sort of... Here is the code I
    used:
    var nc:NetConnection = new NetConnection();
    nc.connect(null);
    var ns:NetStream = new NetStream(nc);
    ns.addEventListener(AsyncErrorEvent.ASYNC_ERROR,
    asyncErrorHandler);
    ns.play("EP1-LOW.m4v");
    function asyncErrorHandler(event:AsyncErrorEvent):void
    // ignore error
    var vid:Video = new Video();
    vid.attachNetStream(ns);
    addChild(vid);
    pauseBtn.addEventListener(MouseEvent.CLICK, pauseHandler);
    playBtn.addEventListener(MouseEvent.CLICK, playHandler);
    stopBtn.addEventListener(MouseEvent.CLICK, stopHandler);
    togglePauseBtn.addEventListener(MouseEvent.CLICK,
    togglePauseHandler);
    seekBtn.addEventListener(MouseEvent.CLICK, seekHandler);
    function pauseHandler(event:MouseEvent):void
    ns.pause();
    function playHandler(event:MouseEvent):void
    ns.resume();
    function seekHandler(event:MouseEvent):void
    ns.seek(ns.time + 20);
    function stopHandler(event:MouseEvent):void
    // Pause the stream and move the playhead back to
    // the beginning of the stream.
    ns.pause();
    ns.seek(0);
    function togglePauseHandler(event:MouseEvent):void
    ns.togglePause();
    What's happening now is that the seek function has issues at
    the end of the clip. I get this:
    Error #2044: Unhandled NetStatusEvent:. level=error,
    code=NetStream.Seek.InvalidTime
    at m4v_fla::MainTimeline/frame1()
    Any ideas?
    Also, I would really like to have a seek bar vs a seek
    button... anyone have examples?

  • Controlling Captivate variable values with AS2 Flash animation

    I created a couple of simple Pause/Resume Flash AS2 buttons to manipulate the Captivate playback using the following script:
    on (release) {
    _parent._parent.rdcmndResume = 1;
    on (release) {
    _parent._parent.rdcmndPause = 1;
    The buttons work as intended if their "Display for:" values are set to "Rest of project".  The buttons seem to have no effect on the Captivate playback if "Display for:" is set to any thing else.
    The problem is that I hoped to only show the buttons when I want the user to pause or resume the Captivate timeline.  However, for some reason which I do not understand, they do not work when their "Display for:" value is set to "specific time".
    Any ideas why the buttons behave the way they do or ideas on how to make them do what I wish they would do?

    Hi Pra MMartin,
    When 'Display for:' is selected as rest of project/ duration of animation, the swf loader will be placed on the timeline of the Captivate swf.
    When 'Display for:' is selected as specific time/ rest of slide, the swf loader will be placed inside the slide (slide is placed on the timeline of Captivate swf).
    So try this when 'Display for:' is specific time/rest of slide:
    on (release) {
    _parent._parent._parent.rdcmndResume = 1;
    on (release) {
    _parent._parent._parent.rdcmndPause = 1;
    Hope this helps.
    Ravi Kishore.

  • Beginner Question: controlling AS3 with Flex button

    Hi
    I am learning Flex and AS3 and was hoping someone here could
    tell me what I am doing wrong. I have a basic fLex application that
    plays an flv. For the purposes of my application I do not want to
    use a videoDisplay Flex component, so I am using an AS3 class to
    play the flv. Here is my flex application:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" creationComplete="init()">
    <mx:Script>
    <![CDATA[
    import flash.display.Sprite;
    public var _video:Sprite = new simpleFlv();
    public function init():void
    rawChildren.addChildAt(_video,2);
    public function playPause():void
    ns.pause();
    ]]>
    </mx:Script>
    <mx:Button label="Pause" click="playPause()" right="10"
    bottom="10"/>
    </mx:Application>
    and here is my simpleFlv class:
    package
    import flash.display.Sprite;
    import flash.net.NetConnection;
    import flash.media.Video;
    import flash.net.NetStream;
    import flash.events.NetStatusEvent;
    import flash.display.Stage;
    public class simpleFlv extends Sprite
    public function simpleFlv(){
    var nc:NetConnection= new NetConnection();
    nc.connect(null);
    var ns:NetStream = new NetStream(nc);
    var vid:Video = new Video(320,240);
    this.addChild(vid);
    vid.attachNetStream(ns);
    vid.smoothing=true;
    ns.play("foo.flv");
    ns.addEventListener(NetStatusEvent.NET_STATUS,netstat);
    function netstat(stats:NetStatusEvent):void
    var netClient:Object = new Object();
    netClient.onMetaData = function(meta:Object):void
    trace(meta.duration);
    ns.client = netClient;
    The video plays when I run the application without including
    the pause button, but I get the following error when I try to run
    the application as coded above:
    1120: Access of undefined property ns
    I know I am missing something totally obvious here. How would
    I code a flex button to tell the flv to pause when I press it?
    Thanks in advance

    Try this to add simple pause and resume features for a video
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" creationComplete="init()">
    <mx:Script>
    <![CDATA[
    import flash.display.Sprite;
    public var _video:simpleFlv = new simpleFlv();
    public function init():void
    rawChildren.addChildAt(_video,2);
    ]]>
    </mx:Script>
    <mx:Button label="Pause" click="_video.playPause()"
    y="10" x="403"/>
    <mx:Button x="472" y="10" label="Resume"
    click="_video.resumeVid()"/>
    </mx:Application>
    package
    import flash.display.Sprite;
    import flash.net.NetConnection;
    import flash.media.Video;
    import flash.net.NetStream;
    import flash.events.NetStatusEvent;
    import flash.display.Stage;
    import flash.events.AsyncErrorEvent;
    public class simpleFlv extends Sprite
    private var ns:NetStream;
    public function simpleFlv(){
    var nc:NetConnection= new NetConnection();
    nc.connect(null);
    ns = new NetStream(nc);
    var vid:Video = new Video(320,240);
    this.addChild(vid);
    vid.attachNetStream(ns);
    vid.smoothing=true;
    ns.play("foo.flv");
    ns.addEventListener(AsyncErrorEvent.ASYNC_ERROR,
    asyncErrorHandler);
    private function
    asyncErrorHandler(event:AsyncErrorEvent):void {
    // ignore AsyncErrorEvent events.
    public function playPause():void {
    ns.pause();
    public function resumeVid():void {
    ns.resume();
    Vygo

  • Changing VCR to DVD

    Does any way have a way to connect a mini to a vcr to be able to make a dvd of several vcr tapes

    I use to do this via my Mac, but found it MUCH MUCH easier to buy a DVD Recorder. I connected my VCR output to the DVD recorder, put in a DVD-R and burned away. It was done in less than an hour. Now, if you wish to EDIT these movies, that is another story. However, simple edits can be performed by simpling pausing the record session, then restarting.
    Here is a good one.

  • AirTunes stopping

    I have a mid-2010 13" MBP running 10.6.5 with iTunes 10.1.1 and 3 month old Airport Express running 7.5.2. I'm having frequent instances using AirTunes where the music no longer plays through the speakers although the track still plays in iTunes. I've let this condition go for some time, sometimes with the music returning, sometimes and returning and stopping again, and sometimes not returning at all. A simple pausing and playing in iTunes gets the music to successfully resume on the speakers. I've searched for answers, and only getting a solution of a factory reset (http://discussions.apple.com/thread.jspa?messageID=12465643&#12465643). Is this a widespread issue between AirTunes and Airport Express? Any ideas if this is an AE firmware problem, iTunes software problem, or something else? Is there something I can do beside factory reset the AE every time?
    Thanks,
    Steve

    This problem was introduced with iTunes 8 and obviously has never been fixed.
    Apple seems to be very reluctant with this. They now call it Airplay and if you take a closer look into it, nothing is really working either.
    Disabling iTunes DJ, Genius and Ping helps a little, because these services do produce a lot of network traffic in the background. (I wonder what kind of information is send to whom?!)
    If you downgrade to iTunes 7 you get far better Airtunes playback, but you miss the ability to connect your brand new iPhone4. Here are some links to those discussions:
    http://discussions.apple.com/message.jspa?messageID=9169923
    http://discussions.apple.com/message.jspa?messageID=8860420
    http://discussions.apple.com/message.jspa?messageID=8780319#8780319
    http://discussions.apple.com/message.jspa?messageID=8780318#8780318
    Apple is a little behind when it comes to wireless applications: i cannot send songs or photos from my iPhone via bluetooth to my wifes sony phone, i cannot sync my iPhone without plugging it in... and so on. It is because iTunes is NOT something for you to enjoy your music, it is a tool for apple to make a lot of money. So don't be fooled.

  • Possible to continue encoding after reboot?

    Hi,
    Using Master Collection CS5, is it possible to continue encoding with AME after a reboot (either planned, or in case of a system crash, as just happened to me)?  Seems like a simple pause in AME, followed by a reboot, loses any encoding progress up to that point.
    Best,
    Chris

    Seems like a simple pause/continue across reboots/invocations is a great (and obvious) enhancement idea.
    For the majority of deliverable exports--H.264 MP4, MPEG2 DVD, WMV, for example--I don't think it would even be possible. Since these formats aren't encoded with discrete, individual frames, but rather in chunks of frames called Groups of Pictures (or GOPs), those chunks have to be encoded and written to disk in sort of a piecemeal fashion. If you stop encoding somewhere in between--or if you suffer a crash--you'd have a high degree of likelihood of being somewhere in the middle of a GOP when that happened. That GOP would be all messed up, and I don't think any encoder could recover from that. I'm not a software engineer or encoding expert, so...
    Is there an official "enhancement" forum where these ideas can be submitted?
    In a way: Adobe Feature Request/Bug Report Form

  • Is it possible to add audio with a simple play/pause button and also have a clickTag attached to the full stage?

    my client wants to add audio to their banner ad (which always has a full stage clickTAG set). I'm trying to figure out a way to just use a simple play/pause button and attach a toggle action to it. Problem is when the user clicks it's going to the clickTAG URL that's attached to the full stage. Is there any way around this?
    Please advise and thank you in advance.

    I have the same issue. It is pretty annoying but at least the audio remains within the motion project. It just isn't accessible it seems as an FCPX template. So what I'm doing is this:
    I still use the video within FCPX's generator section so that you can edit the parameters as you need to
    For the audio, open the project in motion then under Share, click 'Export Audio'. Select 'CAF' format and save to your hard disk
    I then import the audio file into an event I set up specifically for this purpose (per BenB's suggestion).
    When I need it, I then insert the generator from the generators section and then attach the audio file below the primary story line for the audio track
    It isn't pretty but it works.

  • Buffering pauses and audio/video out of sync, single RTMP stream w/ simple embed

    Hello,
    I am running Flash Media Server on my dedicated CentOS host, and finally connected a single RTMP stream fine and am able to embed and play back the stream, but I am getting constant buffering pauses (approx every 5 secs) and audio/video out of sync by at least 5 seconds. My CPU with Flash Live Encoder is a powerhorse, never over 25% processor or ram usage while streaming, and my upload internet speed is averaging 6-8 mbps which should be more than adequate. I fear the issue is server side, however port 1935 is open and in use, not firewalled on CPU nor the host.
    Any suggestions would be great.

    Hello,
    Thanks for the reply, I am using embed code generated with Flash Media Playback, as follows:
    <object width="640" height="480"> <param name="movie" value="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf"></param><param name="flashvars" value="src=rtmpt%3A%2F%2F50.62.40.55%3A1935%2Flive%2Fchristmastime&poster=http%3A%2F%2Fsq uarestream.ca%2Fpics%2Fframe.jpg&autoPlay=true&streamType=live&optimizeInitialIndex=false" ></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="480" flashvars="src=rtmpt%3A%2F%2F50.62.40.55%3A1935%2Flive%2Fchristmastime&poster=http%3A%2F% 2Fsquarestream.ca%2Fpics%2Fframe.jpg&autoPlay=true&streamType=live&optimizeInitialIndex=fa lse"></embed></object>

  • Creating a Simple Flash Movie With Poster Frame and Play/Pause Buttons

    Hi, It's been over a year since I played with Flash last, and
    I have completely forgotten everything I learned.
    I have a .flv file which I want to play on my website. It
    should display a poster frame when the page load, and not autoplay
    the movie. It should have the play button I made in photoshop
    sitting on top of the poster frame. When pressed, the movie should
    start playing and the button should be shifted for the pause button
    I made in PS (it should work just like the play/pause button in
    iTunes). When the movie has finished playing, it should jump back
    to the poster frame.
    I have tried using the flvplayback component and also played
    around with just embedding the flv directly and inserting a play
    and pause button from the common library, but I can't seem to get
    it to work. With the flvplayback component I have managed most of
    it apart from using my own buttons and getting the poster frame to
    work (which apparently has to be done with Action script).
    Any help appreciated.

    Which version of Flash/actionscript are you using? Since you
    are just starting out, you should read one of Adobe's tutorials on
    the matter. Either use Flash Help to find examples on how to use
    Flash or go to their website. Here is a great tutorial for someone
    just starting out. Make sure you read all three tutorials in "Using
    Flash for the first time".
    http://www.adobe.com/devnet/flash/getting_started.html

  • Just a SIMPLE query: No blinking/pausing white light when asleep?

    Hello all.
    Just got my new Intel iMac, very cool. I've set the mac to Display Sleep only and no HD sleep, when the screen goes black, there is no blinking white light at the lower right corner of the iMac, unlike my 1st gen G5 version.
    How would I know then for sure, that my iMac is asleep and not shut down?
    Thanks and cheers

    It would have been nice, if the black Apple for example would glow slightly, but no. There is no way of knowing it, other than pressing some key on keyboard. If it wakes up... Oops, it was sleeping. If it doesn't, then it is shut down (or otherwise unwilling to co-operate with you).
    I wonder, if this really is some environmental issue. Powering off your computer uses less electricity? If so, that is good, because climate change has struck again: Another christmas in a row without snow here in southern Finland...
    Message was edited by: AnttiU

Maybe you are looking for

  • Express Document "Update terminated by Author: user name"

    Hi All   Can anyone help me with regard to this issue? When user do Purchase return, they get this message. I read al the message related to it. But I dont get proper solution. All relate to code and Number Range. But I am not clear of what to do? I

  • How to implement this attribute ?

    Hi, I've this problem. In our application to control healthcare expense I've implemented a cube with 6 dimensions. (here for who knows Italian : http://www.oracle.com/global/it/customers/profiles/profile_77.html ) The biggest dimension is the "patien

  • I hate my IPod Touch 5th Gen 16Gb!

    I find my IPod touch 5th Gen 16Gb a waste, I wish I got a 32Gb to be honest, I'm wondering if I could trade it in for full price and pay extra for a IPod Touch 32Gb!

  • Adobe Form inside a Tabstrip

    Hello, I'm using a Tabstrip but when I put inside a tab an adobe form it doesn't shows anything. I'm not sure if this object (TabStrip) support an adobe form inside. Please anyone knows? Thanks Regards SU

  • APPCRASH PROBLEM IN WINDOWS 7

    I had APPCRASH problem for the last few days.  Even after formatting my system also, I had the same problem. Here is the problem description Problem signature:   Problem Event Name:    APPCRASH   Application Name:    Ruby.exe   Application Version: