How to make my animation loop 3 times ?

Hi Adobe,
I have made a animation and want to loop it 3 times!
Can you help my with that ? ;-)
Best,
Jesper

Hi,
Well, it's very easy.
1) You create an index: sym.setVariable("loop", 1); This is scripted within the compositionReady panel.
2) You script an increment (+1) and a conditional statement (if) within the complete panel.
sym.setVariable("loop", sym.getVariable("loop")+1);
if (sym.getVariable("loop") < 4) sym.play(0);
Here is a demo file to download: looping.zip - Box

Similar Messages

  • How to make Edge Animation works in HLTM5 Offline? I cache all files, but Edge didn't play.

    How to make Edge Animation works in HLTM5 Offline? I cache all files, but Edge didn't play.
    Some createJS animation start without any problem.
    Thanks!
    Astors

    Thank you for your answer.
    I do use cdn off for publish setting.
    The Web site that I am working on is a very complicated site. Edge
    animations are in a subdirectory of Apache server.
    When server is offline, I get all files from Appcache without problem,
    excepted *_EdgePreload.js.
    I Google hundreds time, cannot find answer on why this file is always get
    online.
    Finally, I find out myself, Adobe Edge don’t like relative file path for
    *_EdgePreload.js.
    Change to root absolute path fixed the problem:
    Astors

  • How to make a ANIMATION for beginners.

    how to make a animation using Adobe Photoshop 7.0 and Image Ready 7.0
    btw, my AP 7.0 doesn't have animation window, only my image ready..
    can you teach me how? thanks!

    Hello,
    Can anyone advise how to embed a hyper link to an animated gif image? Thanks!
    ken.

  • Smartform: How to make text height 1.5 times  than width?

    Let say, I want to output "Sales Order", how to make its height 1.5 times then width?
    Thanks a lot

    Hi,
    Create paragraph with the font size you want then apply this font to the Text that you want to  print.
    Thanks,
    Aditya

  • How to make in the loop codes?

    How to make in the loop codes to have like my output(below)?
    For example:
    I am trying to figure out how to make them correct the way I want to have the output.
    String start = "02-01-08";
    String end = "02-29-08";
    Calendar a = new GregorianCalendar();
    while( start <= end ) {
              a.add(Calendar.DAY_OF_WEEK, 7);
              Date d = a.getTime();
              DateFormat df = new SimpleDateFormat("yyyy-MM-dd");
              String ss = df.format(d);
              System.out.println(ss);
    }The output:
    +02-01-08+
    +02-08-08+
    +02-15-08+
    +02-22-08+
    +02-29-08+
    Anybody know how to make it correct?

    artist_tech07 wrote:
    I am confused where is the answer in the doc that you gave me?Read my first reply and read the docs. Then read them again.
    And then re-read this
    To do what you want you need a start and end Dates. These you can compare in one numeric form or the other. For example by using getTime.
    Then during each loop iteration you will need to add *1 day (using the Calendar)* to the start date.
    I am telling you what methods to use. I have told you were you can find those methods. I have given you a link to the Calendar class API. All you have to do is put 2 and 2 together. Or at the very least make an attempt to do so.

  • How to make a switch loop? ( Read inside for more info.)

    I'm working on a project using switch and I want to know how to make it loop/ or is it possible to do so with for or while. If anyone could help me I'd be very thankfull.
    Since my switch is too long I'll make an example:
    System.out.println();
    System.out.println();
    System.out.println("Zgjedhni operacionin: ");
    System.out.println("1. Mbledhja A + B\n");
    System.out.println("2. Zbritja A - B\n");
    optionNumber = sc.nextInt();
    switch ( optionNumber ) {               
                        case 1: System.out.println("\nMbledhja A + B: ");
                              s11 = (a11+b11);
                              s12 = (a12+b12);
                              s13 = (a13+b13);
                              s21 = (a21+b21);
                              s22 = (a22+b22);
                              s23 = (a23+b23);
                              s31 = (a31+b31);
                              s32 = (a32+b32);
                              s33 = (a33+b33);
                              System.out.println( s11 + " - " + s12 + " - " + s13 );
                              System.out.println( s21 + " - " + s22 + " - " + s23 );
                              System.out.println( s31 + " - " + s32 + " - " + s33 );
                              break;
                        case 2: System.out.println("\nZbritja A - B: ");
                              s11 = (a11-b11);
                              s12 = (a12-b12);
                              s13 = (a13-b13);
                              s21 = (a21-b21);
                              s22 = (a22-b22);
                              s23 = (a23-b23);
                              s31 = (a31-b31);
                              s32 = (a32-b32);
                              s33 = (a33-b33);
                              System.out.println( s11 + " - " + s12 + " - " + s13 );
                              System.out.println( s21 + " - " + s22 + " - " + s23 );
                              System.out.println( s31 + " - " + s32 + " - " + s33 );
                              break;I've got the variables declared of course :P so now what I want after doing case 1 or case 2 or any other cases ( 9 in my program) I want to make a question if I want to do another operation and start again from beginning :$/

    Solved it.
    do {
    System.out.println();
    System.out.println();
    System.out.println("Zgjedhni operacionin: ");
    System.out.println("1. Mbledhja A + B\n");
    System.out.println("2. Zbritja A - B\n");
    optionNumber = sc.nextInt();
    switch ( optionNumber ) {               
                        case 1: System.out.println("\nMbledhja A + B: ");
                              s11 = (a11+b11);
                              s12 = (a12+b12);
                              s13 = (a13+b13);
                              s21 = (a21+b21);
                              s22 = (a22+b22);
                              s23 = (a23+b23);
                              s31 = (a31+b31);
                              s32 = (a32+b32);
                              s33 = (a33+b33);
                              System.out.println( s11 + " - " + s12 + " - " + s13 );
                              System.out.println( s21 + " - " + s22 + " - " + s23 );
                              System.out.println( s31 + " - " + s32 + " - " + s33 );
                              break;
                        case 2: System.out.println("\nZbritja A - B: ");
                              s11 = (a11-b11);
                              s12 = (a12-b12);
                              s13 = (a13-b13);
                              s21 = (a21-b21);
                              s22 = (a22-b22);
                              s23 = (a23-b23);
                              s31 = (a31-b31);
                              s32 = (a32-b32);
                              s33 = (a33-b33);
                              System.out.println( s11 + " - " + s12 + " - " + s13 );
                              System.out.println( s21 + " - " + s22 + " - " + s23 );
                              System.out.println( s31 + " - " + s32 + " - " + s33 );
                              break;
    System.out.println("Doni te beni edhe nje operacion?: ");
    vazhdo = sc.next().equalsIgnoreCase("PO");
    while ( vazhdo == true);Sorry for double posting can't see an edit button :$

  • How to make a Thread loop?

    Hi, I was wondering how to make a thread start over again from the beginning once it finishes, if it hasn't been stopped already.

    package src.Utility;
    public class ThreaTest extends Thread{
          * @param args
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              ThreaTest threaTest= new ThreaTest();
              while(true){
                   try{
                   if (!threaTest.isAlive()){
                        threaTest= new ThreaTest();
                        threaTest.start();
                   }//else{
                        //System.out.println("");
                   }catch (Exception e) {
                        e.printStackTrace();
         public void run(){
              System.out.println("-----11---------");
    }try the above code and then tell me if this loop works for you???

  • How to make tween animation in SAPUI5 apps?

    Hi Experts,
    Does anyone know how to make animation in SAPUI5?
    Let's consider a simple example: I have an image control on the UI, by pressing a button, I want to tween the image control to another postion (furthermore, maybe changing the size and alpha of the image). Thanks.
    Br,
    Dong

    Hi Dong,
    you can either use simple CSS3 animations:
    CSS3 Animations
    Or you can use jQuery animations:
    Effects | jQuery UI API Documentation
    Regards
    Tobias

  • How to make Great Animation?

    Hello everyone,
    I have looked around some Flash site and some of the look
    very impresive. Here is the link to one of the.
    http://www.templatemonster.com/flash-templates/15990.html
    I was wondering, how to make these kind of Flash Animation?
    Is there any software or any computer related think that can create
    these kind of animation?
    Thank you very much and have a great day.
    Khoramdin

    Khoramdin wrote:
    > Hello everyone,
    >
    > I have looked around some Flash site and some of the
    look very impresive.
    > Here is the link to one of the.
    >
    >
    http://www.templatemonster.com/flash-templates/15990.html
    >
    > I was wondering, how to make these kind of Flash
    Animation? Is there any
    > software or any computer related think that can create
    these kind of animation?
    >
    Most of these templates are not purely flash based. It's a
    content made with After
    Effects or 3D programs, imported into flash and run as images
    sequence.
    Flash just does the playback, it can't actually create many
    of these.
    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 to make this animation in TwitchPlugin?

    Hi, I have question, how to make this effect and animation in twitch.
    Effect:
    Animation:
    http://youtu.be/UIrSSYjW5-A?t=15s

    If you bought the plug-in you have a bunch of tutorials.
    If you are thinking about buying the plug-in take a look at the tutorials provided by Video CoPilot
    https://www.videocopilot.net/products/twitch/
    If you are still lost AE Basics

  • How to make an animated gif on a imac

    Hi guys
    I am running an Imac OS X 10.9.4.
    I would really like to make some animated gif's if possible.
    Can anyone help me please?
    I tried some instructions using Preview, but my preview does not allow saving a file as a .gif, nor does half the things I found on Google earlier.
    Thanks in advance.

    you could give gimp a try it's free
    http://lifehacker.com/the-complete-guide-to-making-animated-gifs-1503276993
    more from the google search
    best way to make animated gif mac

  • How to make gif-animations from java-midlets?

    I have produced a collection of Java animations as midlets.
    I am planning to make gif-animations of some of them.
    I suppose I can make a gif-picture of every frame of the applet
    through coding that myself in the code. Then I could take
    those gif-pictures and make an animation of them
    with some animation software. Is this a good approach?
    If so, what is the best software for doing this?

    What I need to do is to make color wallpapers. Do you know any better approach for doing this?

  • How to make simple animation of 2D object ?

    I am a beginner of LABVIEW, and here is my problem...
    For each time loop, I can get a the x,y,theta information of a rigid body in the 2D plane.
    I want to use those data to make a simple animation to represent how the object is moving like in a 2D plane, which includes the 2DOF translation movement and 1DOF rotation movement. 
    How should I do?
    Thanks a lot for helping me!

    You can use XY graph to plot the trajectory of the object.
    Regarding the introduction of the XY graph, you can refer to the tutorial on LabVIEW pro.
    http://www.labviewpro.net/teach_content.php?fid=6&post=308&fpt=5
    This can only represent the XY movement, not include the rotation part.
    I don't think there's any graph control in LabVIEW that can represent the rotation aspect.

  • Help on how to make an infinite loop with the same space on all images

    HI:
    I made a movie clip with infinite  loop in which there are images that move from right to left something simple like a marquee, and each image has a blank space between  them, but between last and first image there is a more space, how I can do to  make all images have an equal space between each one and that the motion never stops.

    Thanks for your time and answers my friend, but I'm still not be able to achieve what I want, I forgot to tell that I'm doing this by layers, let's say, I have 5 images, (in fact I have like 50 images converted to movie clip symbols) each image has it's own layer, layer 1, layer 2, layer 3, layer 4, layer 5, then I put a 200 frame motion tween on all layers at 30 fps, then I arranged layer 1 on the first frame to the frame 200, the second layer from frame 50 to frame 250, third layer from frame 100 to frame 300, fourth layer from frame 150 to frame 350, and fifth layer from frame 200 to frame 400, by this I mean I put a 50 frame of space on each image but if you can see, the last image has a duration from frame 200 to frame 400, and there's nothing on frame 250 where it is supposed to be another image to match the same blank space of all the others, the movie clip restarts on the frame 400, and there's a 150 frames of blank space between the last image and the first image, I put the gotoandplay on the frame 250, but it abruptly restarts the movie.
    Is there another way to do this ?
    Am I doing something wrong ?
    Please I really really need help on this.
    Thanks

  • HOW TO MAKE AN ANIMATION SCENE GO BACK TO THE NAVIGATION?

    I'm creating this animation for a class and I'm supposed to do the following:
    "Build a basic animation that runs for 10 secs and then returns to the navigation area in scene one."
    the highlighted text is what i need to do..can anyone tell me how to do it in Action Script 2.0?!?..thanks..I really appreciate the favor!

    thanks but uhm perhaps i was not specific enough..heres the full assignment:
    Controling the Timeline in a multi scene movie
    Scene one - Build a one frame navigation scene with three buttons. Each button should link the user to one of scenes in the flash movie. Make sure that this scene is paused from the start to prevent the playhead from moving past the navigation buttons in the first scene.
    Scene two - Build a basic animation that runs for 10 secs and then returns to the navigation area in scene one.
    Scene three - Build another basic animation that runs for 10 secs and then returns to the navigation area in scene one.
    Scene four - Build a final basic animation that runs for 10 secs and then returns to the navigation area in scene one.
    Extra Credit -  Add sound to the file that begins as each scene begins to play and that ends when the playhead returns to the main navigation scene.
    I've created the buttons and few scenes but i just want the scenes after playing to go back to the navigation area and maybe you can tell me how to how make sure scene one is paused from the start..thanks

Maybe you are looking for