Intermittently jerky tween motion

I have a relatively small swf (95 KB) that demonstrates a
problem that really bugs me. The swf, written in as3, shows an
animation of a bird flying. I use a scripted tween to move a
25x25px flapping bird image from one end of a 900px-wide stage to
the other in about 6 or 7 seconds, and there's MP3 audio that plays
along with the motion. Sometimes the bird "flies" smoothly, but
usually there are glitches in the movement--brief pauses and skips.
If I bypass the sound.play() command, the motion is more
consistently smooth, but not always.
I've done everything that I know to optimize this animation.
Rather than constantly load images to the stage and remove them to
achieve the flapping motion, I'm using a single PNG file that
contains each of the animation frames. I load it to the stage once,
mask it, and change it's x property to show each frame. I also
tried decreasing the audio resolution to 16 kbps. None of this
guarantees smooth motion.
I'm tempted to think that this might be due to the
simultaneous running of motion and sound. But the following swf
never seems to glitch:
http://smallsjazzclub.com/.
it has lot's of high-quality audio and lots of motion. The figure
that I pay particular attention to is the bass player, who always
moves smoothly from one end of the stage to the other. Then, I
switch tabs in my browser and replay my swf, and it glitches.
There must be ways of optimizing Flash animations that I'm
missing. Could this be due to a problem with the way the swf is
compiling?

Personally I would make either a swf of just the bird and
then load that, or I would make a movieClip of the bird animation
and then load that.

Similar Messages

  • Begginer: adding tween motion to a group of layers

    Hi, I'm newbie in flash, currently I'm using flash cs3 at
    work and flash 8 at home, my problem is this:
    I'm trying to add a tween motion effect to several layers,
    each layer has an one single instance of a symbol, this symbol is a
    movie clip type, then, those layers have a keyframe inserted (from
    1 to 12), then in the frame 1 I modified some characteristics of
    the instance, such as height, width and color, then, I shift
    selected the frame 1 of all layers and from the properties panel
    I've chosen motion from tween drop down menu, but when I played the
    animation nothing happens, there's no effect. I don't know what I'm
    doing wrong.
    Also when I closed this file and then I want to open it, I
    can see just one layer (not five), the instances are still there
    but I cant see each layer, why is this?
    Regards

    well a couple of things here. first - yes - the dashed line
    means that the tween was not constructed quite right, and you may
    notice in the Lib that Flash has created a new symbol named: TweenX
    - there area few reasons for this depending on the situation, but
    mostly it means that the two objects on either keyframe (on the
    same layer) are not instances of the same object, or you are trying
    to 'motion' tween a raw shape that needs to be a 'shape' tween.
    next, you cannot apply a Tween to multiple layers at the same
    time, you must select a single frame 'between' two keyframes (on
    the same layer) and apply a tween to that segment only.
    as far as the instances only showing up on a 'single' layer
    when you close and reopen the file, I'm not certain. it may be that
    you 'think' you are drawing things on separate layers when really
    they are on a single one. it's never a bad idea to 'lock' the
    layers as you begin a new one, so that incidental selections of
    other items do not occur. however, in this case the other layers
    should still remain. perhaps you have selected everything on stage
    and converted it to a symbol - in this case it will all be reduced
    to a single layer instance.

  • Jerky Slow Motion with FCE

    Hi,
    I have final cut express 4, and I'm making a movie, part of it is pictures, and the other part video. I decided to make the pictures HD because they look better, but my video is SD. However, when I make a master sequence of my pictures and video sequences, slow motion in my SD video looks interlaced and jerky. I got rid of the interlace with the De-interlace filter, but I can't get rid of the jerky slow motion. PLEASE HELP!!!!

    Actually, what I did was I put the HD pictures into a non-HD master timeline, which is basically what iDVD would do anyway, and the pictures looked better than if I made them in SD, and that way, my slow motion looked fine.

  • DVD+R DL Intermittent Jerky Playback

    Using Verbatim DVD+R DL Media
    I exported from DVDSP to .img and burned it to disk in disk utility. Seems to mount fine on my macbookpro computers... but the playback in the DVDplayer application is intermittently jerky. When I hit the stop button and play again... it goes away and everything plays normal again without the jerkiness.
    This disk is not recognized by my older Powerbook G4 with DVD drive.
    I will be sending this DVD in for Replication...
    Since all the data was verified on the disk and it appears to be playing perfectly fine on one computer... should I be concerned if it doesn't on another? or be concerned about it not mounting on a Powerbook G4 with a Combo CD-write DVD-read drive? Would replication fix these problems?
    See additional information on this problem at the thread:
    http://discussions.apple.com/thread.jspa?threadID=1588705&tstart=0

    Could be an issue with the media, the playback device or your bitrates. Hard to say from here. What was your bitrate and did you use AC3 audio or PCM?
    Also supplying a DL disc for replication is a big error. Output 2 DDP images and deliver that data to the replicator (layer 0 & layer 1) on HDD or DLT tape. Depending on who your replicator is, its possible you will be replicating thousands of DVD-Rs and will show in some players as the DVD-R format not DVD-Video. Then there's possible read error that can occur. Also depending how your title is authored, You cannot be assured your layer break will be set as intended.
    Replicators don't know DVD - they just sell plastic. Give them something to work with. DVDSP allows you to output DDP images used by replicators - thats what this option was put there for - use it! Your a professional, so give them a professional submission and you should expect professional results.
    Message was edited by: Eric Pautsch1
    Message was edited by: Eric Pautsch1

  • How to avoid jerky / stuttering motion

    Hello!
    I am lost. I want to do just one simple thing: film my model train and publish it to youtube.
    I started with a Sanyo HD1000 because it allowed direct import into iMovie 08 without transcoding. After playing around with it for a few days, I gave up and returned it - on the display of the Sanyo everything looked smooth, but as soon as the movie was on my Mac, the train seemed to move jerky. I figured it may have something to do with framerates (I'm in a PAL country, btw.) but changing from PAL to NTSC in iMovie didn't make any difference. Since even the EU model of the Sanyo records in NTSC(!) I thought that I should get a different camcorder anyway.
    So now I have a Canon HF100 which does PAL. Same scene - but same problem. Playback on the internal Display is smooth, playback via composite-video-out on a CRT is smooth, but as soon as the video hits the Mac... game over, jerky motion again. After wasting hours of searching as well as trial & error, I now hope that someone here can point me in the right direction.
    Here are the tools I have at hand:
    .) Canon HF 100 (PAL)
    .) iMovie 08
    .) Final Cut Express
    .) MPEG Streamclip
    .) Apple MPEG2 Quicktime Component
    .) Quicktime Pro
    .) Mac Pro, MacBook Pro
    Here is what I want to do:
    Transfer a video from the HF100 to my Mac, preserving smooth motion.
    Test subject for easy reproduction: a car driving by. Looks even more jerky than the model train.
    I really hope that someone can help me - I spent way too much money and time already to get this simple task done. And yes, HD camcorder to upload something to youtube is overkill, but I didn't plan to stop there - I am just stuck at this step.
    Regards,
    Rainer

    Hi Rainer,
    Can MPEGstreamclip detect your camera and play your AVCHD footage?
    If so use it to convert the footage to QT movies or DV and use FCP Express (better than iMovie)
    to edit. Let us know if you get better result. You should.
    Best,
    G.

  • Stuttering or jerkiness on motion

    Hi, new to this forum.
    I've got a project that has two main programs so I cleaned them in Cleaner first. when I play the pieces in simulator they look clean but when I burn a disc a lot of the movement has a jerky motion to it which is not fun to watch. I'm using DVD studio pro 2.
    This is a family memorial that will be passed on to future generations so I am pretty motivated to have it be clean.
    any ideas would be greatly appreciated.
    Thanks
    Mr. Boo

    Hi, thanks for your interest.
    there are two videos on this DVD and a static menu with two button options.
    One video is one hour, sixteen minutes.
    The second video is twenty three minutes.
    I'm not sure I understand the target question.
    How do I look up the bit rate? It's probably whatever the default is. Are you asking me to look in Cleaner6 or in SP2? Again, when I play an asset in SP2 it looks clean, before burning.
    I bought my DVDs, supposedly high quality, from a tape stock distributor. on the package it says TYDVDGP8T50
    I am not using papaer labels.
    thanks again.

  • Reverse a tween motion from the last active frame

    I have a Fade-in/ Fade-out movie that works with the 'alpha'.
    It begins on a Mouse_Over and works its way toward 0, but stops and
    reverses from
    where ever it is at on a Mouse_Out and works it's way back
    towards 100. I pretty sure someone here showed it to me -- and it
    has been the cats' meow. I'm wondering if Flash will let you do the
    same thing with a motion.
    I played around a little and replaced the 'alpha' call in the
    function with 'motion' and the code stayed blue (which I'm assuming
    means that it is acceptable). This would make a REALLY GREAT
    function, assuming that it is possible.
    I've enclosed the 'alpha' code so that you can see what I am
    referring to.
    Any thoughts?

    NedWebs,
    I think it's pretty obvious at this point that I'm just
    blindly grasping for straws.
    Here's what I found last night. It's a piece of code written
    in AS2. You can see it here:
    http://gtwebconcepts.com/Aptera/ReverseTween/JetTween.html
    It's not my code, so I take no credit for it, but it works. The
    movement is actually 2 tweens on the same layer and it doesn't
    matter where you are in the timeline, when it hears the 'onRelease'
    it exacutes 'rewindTimeline()'. This is pretty much what I'm after
    with two execptions.
    a) It goes all the way back to the beginning regardless of
    whether or not I hit play again.
    b) It's written in ActionScript 2 :(
    Adobe has a little bit of an explanation of the rewind here:
    http://help.adobe.com/en_US/AS3LCR/Flash_10.0/fl/transitions/Tween.html#methodSummary
    It's helpful, but not easy enough for me to make it work.
    I've got three different ActionScript 3 books and none of them make
    mention of it either :(
    I've got two days into this and I think at this point I
    either need to write it using AS2 or just drop it for a latter time
    when I've got a better grip on what's going on.
    I really appreciate the help. I'll bet 90% of my Flash
    education came from either this forum or Tutvid.com. College
    classes would probably make up the remaining fraction -- and they
    cost the most!
    Thanks again for all of the help
    Tim

  • Urgent: How to tween motion guide?

    Hi,
    Basically, I have this motion guide set up with a ball on it. The ball travels along the motion guide as I want, but I need the motion guide to move as well. When I tween the motion guide, the ball no longer moves across the guide.
    I have a background that I want to scroll from right-left to make it look like the ball is moving.
    I want the path to move at the same speed as the background to so the ball moves along the background
    How can I do that? 
    Here are the project files so you can have a look at what I want. If you could do what I want for me that would be awesome!
    cs5.5
    https://rapidshare.com/files/238332578/PAth.fla
    cs5
    https://rapidshare.com/files/3320417608/PAth5.fla
    cs4
    https://rapidshare.com/files/2435213298/PAth4.fla
    Thanks

    Animating the path will break the timeline tween as you have already seen.  What you need to do is place the entire animation you have now inside a movieclip and tween that movieclip in the opposite direction of the ball motion.  To place it into a movieclip, select all the frames in the timeline, right click and choose copy frames.  Create a new Movieclip symbol, right click the one keyframe in it and choose paste frames.

  • Jerky keyframe motion

    Keyframed motion of images is jumpy/jittery, not smooth like it was in FCP HD.
    Does anyone else have this problem? Any fixes out there?

    Thanks for the replys, guys.
    Just to explain...the jittery motion is not a radical move. It's more of a shudder of a few pixels throughout the motion. It's not a radical jerking of the motion, but it is sure enough to where it is obviously not the smooth keyframed motion I'm used to. I had perfectly smooth motion on this system when I had FCPHD installed...this has only started with 5.
    Upgraded to FCP5 about 2 months ago.
    The motion is jittery before and after rendering. I read on another post that you can remove the Crop and Distort attributes to fix this. After these were removed, the pre-render motion was smooth, but after rendering the jitter was back.
    What do you think?

  • Using Timewarp on motion tweened effects...

    I'm using Timewarp to adjust the speed of a layer that contains motion tweened effects (ie. particles). For some reason Timewarp is treating the layer as regular 29.97 fps footage and using it's vector blending to interpolate the footage (creating undesirable distortions).
    In the end, I plan on Timewarping a single pre-comped layer that contains many different effect layers (Particular, Optical Flares, Element, etc.)
    Is there a way to get Timewarp to just re-calculate and re-tween the motion instead of doing it's usual vector blending thing?
    -Pete

    Hey, thanks for the great suggestion. I never really used Time Remapping before so I tested it and it works great! It actually re-calculates tweened motion and does a decent job on regular footage that has pixel motion frame blending enabled.
    I guess since Timewarp is just a filter, it's limited.
    Thanks agan.
    -Pete

  • Tween and motion help!

    Hi,
    So my problem is this..
    I really want to create an animation where writing just appears as it is being written/drawn and leads on to draw the sketch of someones face and carries on. (hope you understand that)
    I know this must be done with tweens/motion but i cannot for the life of me figure out how!!!!.
    If anyone can help i would really appreciate it.

    player is a symbol that is classic tweened. It has to frames. The first is a still frame with a stop action. The second has been converted as a symbol to show the player move across the screen and back.   When the attack button is clicked the player moves across the screen and back but it keeps on looping. If I add a stop action to the last frame it will move and comeback and stop but it will not move anymore when the button is clicked again.

  • 2 days ago my FF3.6.3 started becoming extremely slow/delayed on EVERYTHING/ALL ACTIONS (I have been using 3.6.3 for a few months with NO problems, until 2 days ago). Scrolling going in delayed/slow 'waves' motion (not smooth & fast), Right-click box ver

    2 days ago my FF3.6.3 started becoming extremely slow/delayed on EVERYTHING/ALL ACTIONS (I have been using 3.6.3 for a few months with NO problems, until 2 days ago). Scrolling going in delayed/slow/jerky 'waves' motion (not smooth & fast), Right-click box very delayed/hangs in coming up, Text typing lagging/intermittent, activity extremely slow/delayed when pointing mouse over anything, changing from tab to tap extremely slow. Bascially EVERYTHING has become sooo slow, delayed, lagging etc. I have tried ALL possible checks (extensions, add-ons, plug-ins, download history, cache, cookies) & viewed nearly ALL the FF help sites. Is this a sudden/recent bug?? It doesnt only happen with Facebook, but EVERY window I open!!
    == This happened ==
    Every time Firefox opened
    == approx. 2 days ago

    I've personally not seen this behaviour since Firefox version 2. It however re-appeared for me in 3.6.6 and 3.6.7 (current) and it's bloody awful. Makes everything I do take 50% longer ..... great for efficiency in the modern world.
    This 3.6 branch is so riddle with flaws which seem never to be fixed. Each fix / update brings with it more problems ... worst of all I see version 4 is already in development but they cannot even get 3.6 right ??? WTF ????
    Mozilla must stop chasing version numbers as has become the trend in the software world. Fix an existing version to perfection then start working on a new branch of the product.

  • Error when creating tweens and masks

    Hi Guys, i seem to be having a porblem with any sort of tweens, motion (classsic) and shape.
    when i create a new motion tween for example, i get the yellow "!" error in properties and it says "Motion tweening will not occur on layers with ungrouped shapes or on layers with more than one group or symbol". Thing is, i dont have more than one symbol or thing more than one shape and that is actually being tweened.
    the ! error only shows when i select the last frame in the tween. any ideas how i can get around this? i've never had this problem previously.
    when i create a motion tween, i draw the object (in this case a circle), right click on the single keyframe, select create motion tween, then copy this keyframe and paste it further down the timeline, say at frame 10. At frame 10, i will move the circle to another location. the tween seems to work and it has created the symbol in the libary (tween 1) as a graphic, and when i export, it works ok, but the last frame has still the same error with the "!".  Same thing happens with shape tweens.
    In this case i have used a shape tween to make a circle become larger, and this which is my mask layer, with the masked later underneath, which is a static shape which i have drawn with the pencil tool. The mask works fine in flash, but when exproted, nothing shows.
    I've linked to an example .fla file of the problem that i am having with the tween and also the mask layer. The main animation is in a movie clip called "Drop 10", in the libary.
    Any help would be great as this is driving me mad.
    File: http://ranicx.com/test/example_problem.fla

    does anyone have any idea what could be happening? i really need help with this.

  • HELP! Continuous Object Motion When Mouse Moves Over - ActionScript 3.

    Hello! I'm working on a school project. Below is an image of what I am working on.
    My cursor in this movie is the heart. When I move my mouse over Hello Kitty she jumps -- but only once. How can I get her to keep jumping when my mouse is over her, and make her stop jumping when I pull away? Here is the code below. If you can help that would be great!!!
    Also, because I am new to ActionScript I might have messed up with the motion of the animation. Hello Kitty used to jump continuously without me doing anything. Then I copied the motion code into my ACTIONS layer and put stop(); in the Hello Kitty object code. So, she doesn't jump all the time anymore, just when my mouse moves over her... but she only jumps once and that is the problem. I want her to keep jumping as long as my mouse is over her. Please HELP! THANKS!!!!
    import fl.motion.Animator; // I COPIED THIS MOTION FROM THE TWEEN MOTION ON THE KITTY
    var kittyMotion_xml:XML = <Motion duration="15" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
    <source>
    <Source frameRate="24" x="8.95" y="63.9" scaleX="1" scaleY="1" rotation="0" elementType="graphic" symbolName="Tween 1">
    <dimensions>
    <geom:Rectangle left="-110.65" top="-135" width="221.35" height="270.05"/>
    </dimensions>
    <transformationPoint>
    <geom:Point x="0.49988705669753786" y="0.49990742455100906"/>
    </transformationPoint>
    </Source>
    </source>
    <Keyframe index="0" tweenSnap="true" tweenSync="true">
    <tweens>
    <SimpleEase ease="0"/>
    </tweens>
    </Keyframe>
    <Keyframe index="14" tweenSnap="true" tweenSync="true" firstFrame="14" y="-63.55">
    <tweens>
    <SimpleEase ease="0"/>
    </tweens>
    </Keyframe>
    </Motion>;
    /*var kittyMotion_animator:Animator = new Animator(kittyMotion_xml, kittyMotion);
    kittyMotion_animator.play();*/
    HKITTY_mc.addEventListener(MouseEvent.MOUSE_MOVE, mouseMOVE); // MOVE MOUSE TO MAKE KITTY JUMP
    function mouseMOVE(event:MouseEvent):void {
    HKITTY_mc.gotoAndPlay(kittyMotion_xml.currentFrame);

    I won't be around much longer today, so on just a hunch I'd say if you comment out all of what you showed in your first posting, use what's below, and get rid of anything that might be stopping the kitty from jumping, it might work... though it might not...
    HKITTY_mc.gotoAndStop(1);
    HKITTY_mc.addEventListener(MouseEvent.ROLL_OVER, kittyJump);
    function kittyJump(event:MouseEvent):void {
         HKITTY_mc.play();
    HKITTY_mc.addEventListener(MouseEvent.ROLL_OUT, kittyStop);
    function kittyStop(event:MouseEvent):void {
         HKITTY_mc.gotoAndStop(1);

  • I need to change stage.frameRate, but how to keep tween speed?

    Hello. I am using Flash CS6.
    Right now I am trying to keep fps of tween motion.
    I mean, I made a button that  speeds up and down stage.frameRate, if I click the button it does stage.frameRate +=1 or stage.frameRate -=1, but if stage framerate changes, it speeds up the tween animation too.Is there anyway to keep the speed of tween animation?
    What I want to do is there are 2 movie clips, mcA and mcB, and mcA animation is dependent on stage.frameRate, if I click the forementioned button to change stage framerate, it also changes mcA framerate, but I don't want to change mcB framerate.There is a tween AS, it moves "mcB.x = 0" to "mcB.x = 100" in 10 frames with tween.I want to keep the pace of the tween animation.
    Please give me your advice.

    Use Actionscript to tween positions instead of using the timeline. Then you can base it on time rarther than frames.  For starters, look into using the built-in Tween class.  Once you get a flavor for using it, for better performance you can look into using third party tweening such as TweenLite.

Maybe you are looking for