Continuously looping background

I have created  looping backgrounds (mountains and foreground) using the timeline.
I created the loops by creating a vector range of mountains or hills, saved as a movie clip, got into the edit mode of the movie clip, duplicated the mountain art and butted it to the right of the original mountain range, grouped the two pieces of art and then tweened and moved (in the final keyframe) the whole piece of art to the left. It did exactly what I want.
The only issue is tweaking some of the loops - when the first loop gets to the end of the timeline there is sometimes a "jog" or noticeable bump or lag in the animation.
One solution I found was to play with the left or right position of the art in the final keyframe. I also tried extending the timeline by moving the last keyframe by a few frames. Sometimes it helps - other times I can't seem to get rid of the "jog".
Any tips or tricks that may help me would be greatly appreciated.
I've also created some simple loops with AS and that also had the same "jog" in the animation.
Thanks
j

I believe the problem you are experiencing is that your first frame is exactly same as your last frame - that's the basic idea right? So the user won't notice any difference. The only problem is, the flashplayer plays last frame, then first frame and second... and when it gets from last to first, it results in showing the frame twice as long as the others, thus lag.
The easiest solution is to create a keyframe on second to last frame of tween and then removing last frame of animation. This solution is limited - if you decide to make animation shorter or longer, you'll have do the whole process again.
If you're in the MovieClip, the best solution is to create another layer, put a keyframe on second to last frame and put a code there "gotoAndPlay(1)" so you skip the last frame programatically.

Similar Messages

  • Creating a looping background for simple game

    hello
    I have been trying to create a simple looping background of a
    road - so a car will be placed on top and give the ilusion it is
    moving on it...
    The problem is: I was able to follow the instructions from
    http://www.jimmcneill.com/loopdemo2.html
    and it works fine, however, it only works as seen on the link if I
    publish to HTML... but I need to do the same and publish in
    Flash...
    What am I missing ?
    I am quite new to Flash, so I apologize if the question is
    silly...
    I have been struggling to make it work for a few days now and
    don't seem to find useful info on this problem anywhere...
    Any help is REALLY appreciated !
    Ariane

    yes, if I follow the instructions on the site I mentioned and
    then go to File > publish preview > html, it works as shown
    in the website...
    however, if i go to file > publish preview > flash, it
    does not...
    the animation is choppy and not continuous..
    does it make sense ?
    i was hoping it was just a matter of changing a setting...
    I also found another tutorial -
    http://www.actionscript.org/resources/articles/21/1/Continuously-Looping-Background/Page1. html
    but I think the version is different - the Goto Play is not
    the same in MX2004 ?
    Thanks much for your help !
    Ariane

  • My iphone application running continuously in background to access some information by "beginBackgroundTaskWithExpirationHandler" then can i submit in appstore .

    My iphone application running continuously in background to access some information by "beginBackgroundTaskWithExpirationHandler" then can i submit in appstore ?

    This is a question that should probably be posed in the Developer forum.

  • Nobody get back to me on my other question, so I'm going to try again. I am making a PowerPoint for a meeting and I want to take a 3D PDF and have it spin or rotate on a continuous loop. How can I accomplish this?

    Nobody get back to me on my other question, so I'm going to try again. I am making a PowerPoint for a meeting and I want to take a 3D PDF and have it spin or rotate on a continuous loop. How can I accomplish this?

    Please ignore PowerPoint comment, I can make the 3D PDF no problem with my converter plug-in for AutoCAD. Once it is made though you can spin it by hand/mouse in Adobe. but I want a video like scene with the object spinning by itself for modeling purposes?

  • Looping Background Movie Clip

    Hi i am having trouble with having a looping background movie
    clip on the bottom layer of my flash project. I have it on the
    bottom layer in the first frame, above it i have some menus fading
    in and it seems as though once it gets to this scene, it just plays
    the movie clip over and over and never goes to the 2nd frame of my
    scene. Is there anyway to have a looping background movie clip
    inside of flash 8?
    Thank you in advance,
    Tyler

    You can use a variable to keep count of how many times you loop, and until it exceeds a particulr value (2 or 3) you execute a setTimeout() call that waits for however long you want to delay and then tells the movieclip to gotoAndPlay(1).
    So in the first frame you would establish the counting variable...
    var count;
    if(count == undefined){ // only set it to 0 once
    count = 0;
    and in the last frame you would do your incrementing and control....
    stop();
    count += 1;
    if(count < 3){
    setTimeout(waitABit, 2000); // call function in 2 secs
    function waitABit(){
    gotoAndPlay(1);

  • Warning for Continuous Looping External flv or f4v as2

    Malfunction issued in Continuous Looping External flv or f4v in as2 from containers created in Flash Professional CS6 with code
    on (complete){
    this.autoRewind=true;
    this.play();
    solution: always make a new document!
    Mystic problems with x times resized documents, at media 2 or 3 times play and then not playing external fly/f4v

    use:
    kglad wrote:
    if all your buttons are attached to the same parent:
    on(press) {
      s = new Sound(this);
        s.setVolume(100);
        _parent.mcPlayer.seekToNavCuePoint("pict1");
        mcPlayer.play();
    on (release) {
        i = -100;
        s = new Sound(_parent);
        s.setVolume(0);
        gotoAndStop("reset");
    on (release) {
        i = -100;
        s = new Sound(_parent);
        s.setVolume(100);
        gotoAndStop("hold");

  • Connect by loop how to prevent continuous loop

    We have a forms environment and in one area of the system its possible to create a continuos loop i.e
    part 1
    ----> Part 2
    ------>part1
    We get round this currently using the nocycle option in our connect by and checking the values of the connect_by_iscycle option. But we only do the check this after a commit.. meaning user has to manually amend. I was wondering how people validated there was not a continuous loop before the commit?
    Thanks

    use CONNECT_BY_ISCYCLE to check the problem
    check this out
    http://www.rampant-books.com/10g_79.htm

  • Error Message - Execution will continue in background

    Dear all,
    Our workflow is on Basis 640. Currently the progress stops at a step. It's a syncrhonous background task. The message is "Execution will continue in background". Does anybody have any idea about it?
    The workflow is triggered by an event of a BOR object. The container variable EVTOBJECT_ is transferred to an import container variable of the workflow. And this BOR object is in turn given to the task container. And the key fields of the BOR object are given to the class method which will be called by the task. The bindings seem to be correct... Any idea about the possbile reason?
    Thanks + Best Regards
    Jerome

    The problem occurred in our own code, not SAP's.
    I just check transaction ST22 but there's no dump. I checked the workflow log and find the following error message:
    Executing batch work item
       EXECUTE
         GET_VALUE_REF
           EVAL_CONTAINER_ACCESS_CODE
         CL_SWF_BND_BINDING->EXECUTE
           GET_VALUE_REF
             EVAL_CONTAINER_ACCESS_CODE
         CL_SWF_BND_BINDING->EXECUTE
           GET_VALUE_REF
             EVAL_CONTAINER_ACCESS_CODE
    Any idea bout it?
    Thanks + Best Regards
    Jerome

  • I am trying to update my iphone software from 4.2.5 through my Mac but am not successful.  It just goes into a continuous loop saying that there is an update available and to install and restart but the update never happens.

    I am unable to update my iphone software 4.2.5 to the latest version through my Mac.  I get into a continuous loop of clicking on update and getting the message to restart the computer.  But nothing updates. 

    I imagine you are talking about iPhone 4 CDMA (Verizon, Sprint). iTunes will only allow Update or Restore to iOS 6.0.1 You need to update iTunes on your computer to current version 10.7, with computer click the iTunes Tab at the top of this page and install current iTunes 10.7 If this iTunes will not install you may need to update your computer System, or try a different computer.

  • HT4597 Why is your add putting users on a continual loop with your cloud advertising? What is the point of

    What it it with the iCloud advertising running on a continual loop?

    Welcome to the Apple community.
    What are you talking about.

  • Adobe FormsCentral Sign In Continuous Loop Issue

    Hi,
    One of my co-worker is trying to sign in FormsCentral but once she enters her e-mail and password it goes into a continuous loop. By continuous loop, I mean that the page is blank and the browser is loading and looping in between 3 Adobe related URL but never loads anything.
    It works from my computer. We both have the same Internet Explorer version (11.0.11). I tried it on the Internet Explorer without Add-on and it does the same thing.
    Any ideas how to fix this?
    Thank you in advance for your help!

    I think I've seen this on machines which do not have Flash installed.
    1. Check for Flash
    2. Try Firefox
    3. Try Chrome (which has a built-in Flash player)
    Hope that helps,
    Brian

  • Spotlight is in a continuous loop...

    Hello! My name is Filippo.
    I have a big problem. Spotlight is in a continuous loop and indexing restart, making my Macbook unusable.
    Can you help me? I have turn off spotlight, erase the index and then turn on, but the problem hasn't gone away.
    An important note: mdimport -L return null instead a list of import.
    Thank you!

    Hi
    My iMac started doing this too a couple of days ago. Index, index, index, with the HD whirring away all the time, and a serious overhead on the CPU, slowing down my use of MS Windows, Entourage, Finder, you name it. I let it run all night last night, hoping to clear itself, but no, its been indexing all day today as well. It finishes one indexing run (estimating 2 hours to complete) then immediately starts another, which also estimates several hours to complete.
    I've turned off indexing for now using "mdutil -i off /" (thanks to V.K. for this tip), but thats only put a patch on it. I guess that in this non-indexing state Spotlight will rapidly become u/s, which will remove some fantastic functionality that I find really useful.
    I want to know
    - why it has started doing this?
    - how can I stop it doing it, but retain Spotlight functionality?
    - how can I stop it happening again?
    No point me buying 2.8GHz if its crippled by some bug!!
    Thanks to all in advance
    CB

  • Need a clear tutorial on looping backgrounds

    Can anyone please suggest a clear explanation or tutorial on
    how to create a looping background with layers moving at different
    speeds?
    Mine keep producing a jump when I try to make them.
    Thanks for any advice.

    Luis Ortega wrote:
    > Can anyone please suggest a clear explanation or
    tutorial on how to create a
    > looping background with layers moving at different
    speeds?
    > Mine keep producing a jump when I try to make them.
    > Thanks for any advice.
    there is no magic to it, if you see jump, it means the loop
    end in wrong place.
    You must simply position the image in such order to prevent
    visible jump.
    There tutorial will only apply to the image within tutorial
    itself, the rest
    you must make on eye or using action script.
    Just search the forum or google for "flash endless loop", we
    did that gazillions
    of times in a past....
    Best Regards
    Urami
    "Never play Leap-Frog with a Unicorn."
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • How do I continually loop frames with a 20 second pause in each frame from the same scene without going to the next scene?

    How do I continually loop frames with a 20 second pause in each frame from the same scene without going to the next scene? There are buttons for the other scenes in these frames. The below works well until I am at the last frame in scene one, then it goes to the next scene and plays. How can I make scene one a continually loop.
    stop();
    var timer:Timer = new Timer(20000,0);//<--
    timer.addEventListener(TimerEvent.TIMER, timerHandler);
    timer.start();
    function timerHandler(event:TimerEvent):void {
        this.nextFrame();
        //or if you want to jump e.g 5 frames
        this.gotoAndStop(this.currentFrame+5);
    Thank you for any help.

    For this code to work, you need to empty the first frame and place all the photos a frame ahead. Then, place this code on the first frame. DONE!
    If you need more help, I'll try to answer it the fastest I can.
    Oh, and I could actualy make your photos fade out and fade in as they rotate from frame to frame, it would be awesome. Just tell me if you want me to do it. Good luck
    import flash.display.Scene;
    import flash.events.TimerEvent;
    stop();
    var timer:Timer = new Timer(2000,0);
    timer.addEventListener(TimerEvent.TIMER, timerHandler);
    timer.start();
    function timerHandler(event:TimerEvent):void {
    if (this.currentScene.name == "Scene 1") {
      if (this.currentFrame != this.currentScene.numFrames) {
       this.nextFrame();
      } else {
       this.gotoAndStop(2);
    nextFrame();

  • Creating a movie for a web page and making it continuously loop

    Hi all! I have a client who wants me to create a slide show with 7 images at a specific size for his web page. He wants it to continuously loop. I don't know much about this. Where can I go to learn how? I can make the movie... but I'm not sure what to export it as... and what the settings should be to enable me to make it the correct size and so that it loops. Thank you!
    I'm using iMovie '08 on my iMac.
    PS: When I looked up online for help, all I found was how to make a movie loop on one's computer. Not on web pages.

    .gif files are supported in all browsers and do not need any special "player". They are very limited in their support of colors and most Web pages rarely use them anymore.
    QuickTime .mov files can be set to "loop" (as explained above). Much more colors (millions).
    iMovie is the wrong tool to make your file (and it doesn't create .swf format).
    QuickTime Player Pro is the tool you need. It can import an "image sequence", set the frame rate (up to ten seconds per frame) and save the file in the .mov container.

Maybe you are looking for

  • Changing G/L account after GR

    Hi All, I want change the G/L account after GR .Is it possible , can anyone put me on this. BR govindaraj.d

  • Ssh: /etc/issue display between login and password prompts

    Hi All, I currently have ssh installed on one a Solaris 10 (non-global) zone. I have configured the sshd_config to run on protocol 2 and unhashed the 'Banner /etc/issue' parameter. When I attempt to log into this zone via ssh I get (in this order)...

  • Call API crash

    IGWFolderRights *gwFolderRights NULL; DIGWAddress *gwAddressD = NULL; status = gwFolderRights->get_Address(&gwAddressD); I call that sometime crash in windows vista, then I tried catch this exception as below, but didn's work, still crash at here. us

  • Cannot run command window

    In Windows I would expect to call up a seperate command window with the following, but it appears to freeze up. What am I doing wrong? import java.io.*; public class command {       public static void main(String[]args) {     try {       Process runp

  • Yet another DVD Playback thread...

    Gone through every other thread related to DVD playback issues when you do a forum search for "dvd playback". If I try to play a DVD, the disc spins for quite a while while (S)MPlayer just sits there and eventually crashes. Tried this with multiple D