How to create particular loop

Hi
Can anyone tell me how to create my particular animation into a loop? The two main problems:
- How to make the first and last frames "match", so the animation looks fluently.
- At the moment it fades in and that is not allowed (since I need to export the movie as a loop).
Here's the animation file: http://dl.getdropbox.com/u/175241/how_to_make_it_loop.aep
Thanks for your time
//MadsRH
madsrh(a)gmail.com

Thank you for the link I didn't know that site.
I saw the looping videos, but I can't seem to find anything about looping particular.

Similar Messages

  • How to create random loop

    i am trying to create a picture quiz what picks randomly 50
    pictures from 500.
    how can i do that i wont pick twice the same picture.
    So how to code a random code what fist picks a
    number...stores it to variable..then
    stores it to array? and next time when picking number it
    first checks is that number already in the array
    and if it is then does another random untill finds a number
    what is "new" , not in the array?

    hi,
    I'm using random functions quite a lot at the moment.
    In Flash you'd use:
    var random_number:Array = new Array();
    var i:Number;
    for (i = 0; i < 50; i++) {
    trace(i);
    random_number(i) = random(500)
    (those should be square brackets around the i after the
    'random_number' in the assigning line)
    this would randomly choose a number from 0 to 499 and assign
    it to the variable random_number array - indexed according to the
    current step within the loop. The loop will run for 50 loops giving
    you your 50 numbers.
    I'm tight on time so....all that's left is that within the
    loop you'd just need to do a conditional check before assigning a
    value.
    Hope that helps!

  • How to create a loop with control over iteration?

    Is it possible to create your own loop where you can CREATE your own iteration variable and change the iteration variable's count whenever its needed?
     The For loop and While loop in labVIEW have the iteration (i) provided but I can't change where it begins and such. The i always starts at i=0, however, if i can make my OWN iteration variable, where I can feed back into it whenever I need to jump to a specific iteration count, it would be awesome.  
    Thank you.

    BurningH34t wrote:
     if i can make my OWN iteration variable, where I can feed back into it whenever I need to jump to a specific iteration count, it would be awesome.  
    Thank you.
    The only thing I can think of involves a 1.21 Jigawatt Flux Capacitor and a DeLorean.
    =====================
    LabVIEW 2012

  • How to create a loop for my problem? Please read for more detail.

    Hi guys,
    I am doing my project and currently i faced one problem and that is more towards looping i guess. My project is about embedding and I had done all the embeding stuffs already but I am only able to embed my barcode into image at starting at coordinate 0,0.
    What i want to know is how do i had to structure my loop so that i can embed my barcode even when i start at x=20 and y=30 for example?
    currently i used nested for loop which is why i can only start at 0,0.
    I wanted to make it something like this:
    for<lets make it x=20>
    for<lets make it y=30>
    <my code retrieve pixel at x=20 y=30>
    <my code retrieve pixel of barcode at x=0 y=1>
    end
    end
    end
    I wanted to have something like above where i can start at 20,30 but at that certain cooridnate i will starting retrieve barcode pixel at 0,0.

    So just say what you don't know how to do, because what I showed is exactly what you need.
    So please answer the following:
    1.) I have an image of my barcode and I don't know how to paint it onto another image.
    or is it
    2.) I have a routine that draws a barcode at a fixed location and I don't know how to get it to draw anyplace I tell it.
    or
    3.) I don't have anything yet, and I want someone to code this for me.
    or it is
    4.) Les you don't have any idea what I want to do, so here is what I need (pay more attention):
    but in any case (well except #3), you'll be better off if you can give us some code to look at and explain what you are specifically trying to do and where you are having problems.

  • How to create a loop in this case?

    Hi! I'm trying to use the if statement, but the code is only read once.
    How do I get this code to be read several times?
    For example, when the car passes the detector the number goes to 10.
    So the code does not detect the if statement because the code is only read once.
    Code:
    var score: Number = 9;
    if (score == 10)
    gotoAndPlay (3);

    you could put that code in a function and use a loop (like enterframe to call it) or, even more efficent, call the function whenever score could be changed.

  • How to create a loop?

    I have this function:
    private function setUpHeaders():void {
    sLabel1 = xmlData.step1.ing..title+" -
    "+xmlData.step1..amt+":";
    sLabel2 = xmlData.step2.ing..title+" -
    "+xmlData.step2..amt+":";
    sLabel3 = xmlData.step3.ing..title+" -
    "+xmlData.step3..amt+":";
    sLabel7 = xmlData.step7.ing..title+" -
    "+xmlData.step7..amt+":";
    It lloks like an excellent candidate for a loop. However, the
    attempts I made at a "for" loop failed. How would you folks make a
    loop here?

    I am not sure of the class of the xmlData object, and I am
    also uncertain of what the "..title" and "..amt" notation means,
    but in general it is possible to use the array syntax in AS for
    properties. I would try:
    for (var i: int = 1; i < 8; ++i)
    this["sLabel" + i] = xmlData["step" + i]..title + "-" +
    xmlData["step" + i]..amt + ";";
    You may need to cast the properties from the xmlData object
    in order to apply the "..title" and "..amt" accessors.
    You can access properties in any Object using brackets and a
    string within the brackets.

  • How to create a loop to run total of records for before and after unconstant date

    Post Author: Ann2
    CA Forum: Formula
    Here is the data sample:
    ID period code date
    1  00  I    01/01/1999
    1 00   Z   01/02/1999
    1 00  G   12/05/1999
    1 00  M   01/01/2000
    There are many students with many periods and many codes. I need to save a date when code = 'G' and count separateley records per student/period 2 times - before and equal that date and after that date, so in the end for period 00 I will have 2 values: 3 (before) and 1(after).
    There are periods from 00 to 08. I am counting students abscencies before and after warning letter was sent (code G).
    The result data should look : 00 01 02 03 04 05 06  07  08              00 01 02 03 04 05 06  07  08     Total
                                                3  0   0   0   0   0   0   0   0                 1 0    0   0   0   0   0   0   0        4
    Please help me.
    Thank you.
    Ann2

    Post Author: Ann2
    CA Forum: Formula
    Thank you for your answer, but I do care about the date the 'G' happened, because I need to reset count.
    The logic behind is this:if a student absent for more than 8 times per period - the letter will be sent out to the parents , that will be code 'G' with period '-1' (it may happen that there will never be code 'G' , but I need to track all absencies). Once the letter is sent, the count starts over (the count starts over the next day after code 'G'). The absencies which happened before or the date the letter sent should count toward 'previous'  abscenices, all other - absenices after the letter.
    So basically I need total per period and total per period before or the day with code 'G'.  Running total with reset with formula code = 'G' does not work.
    I created a formula field which has global date (when code 'G' happenned) and it says if globaldate >= periodDate then date (1900,01,01) else (2100,01,01) and that formula is ok, but I can not use it in running total or can not create group on it and insert total.
    Please help me with this. Thank you.
    Ann2

  • How to create for loop USING a while loop

    Hi, I would like make a for loop inside of a while loop because I want to control the i count of the loop, and overall, more control over the loop. From what I understand, labVIEW's for loop doesn't let me change where the i count starts. It always start at i=0, and what I want to do is be able to jump to specific loop iterations and then continue from there.
    Thank you.

    That is not the same as the earlier examples.
    If you want 10 counts and start at 0, then the stop terminal will stop after 10 times.  Just like you get when you wire 10 into the N terminal and don't have a conditional loop.
    If your start value is larger, let's say 9, then your loop will only run 1 time because i=0 on first iteration + 1+ 9 (start value).  0 + 1 +9 = 10.
    If your start value is larger than 10, then it will run 10 times again because on the intial iteration the result of your comparison is already greater than 10 and won't stop, and will never be equal on later iterations.
    So your example does not even give consistent results depending on the value you use as the start value.
    (Just to note, my earlier examples may not all be identical results as I didn't try to verify all the stop conditions nor the array that is output by the ramp function.  I could be off by one iteration here or there.  But they should be good enough to point out distinctive ways to accomplish what the OP asked for.)

  • How to create a looping music player that does not restart when you go to other pages

    Hello
    I am new to web design. I apologize if I do not use the write
    terminology. I am designing a website. I want to have a song that
    loops continuously throughout the site and does not restart when
    you click on the different pages. I have included a link to a site
    that I found that does what I want to do. (Hopefully this link will
    give you a better idea of what I am trying to describe)
    http://www.marcuscoleministries.com/index2.html
    Thanks for your time and consideration

    You will have to use frames which in itself is a bad idea.
    IMO music that
    plays automatically is a terrible idea. It is likely to drive
    away many
    visitors and is unlikely to retain even a single visitor.
    Avoid frames. Drop the music. You'll be happy you did.
    Walt
    "dbone1" <[email protected]> wrote in
    message
    news:fn36v6$de7$[email protected]..
    > Hello
    >
    > I am new to web design. I apologize if I do not use the
    write terminology.
    > I
    > am designing a website. I want to have a song that loops
    continuously
    > throughout the site and does not restart when you click
    on the different
    > pages.
    > I have included a link to a site that I found that does
    what I want to do.
    > (Hopefully this link will give you a better idea of what
    I am trying to
    > describe)
    http://www.marcuscoleministries.com/index2.html
    >
    > Thanks for your time and consideration
    >
    >

  • How to create event alert for particular column get updated

    Hi every one.... plz help me
    How to create oracle event alert when particular column is update. plz help me.... Acutually i need email alert when ever list price for an item column in pricing table get updated+... plz. Its urgent.

    Oracle Event alert is based on update of specific table and not on specific column in table.
    However you can create a trgigger on table which is based on updat of column. And in this trigger you can send a mail using plsql.
    HTH

  • How to create a textfile dynamically(with in the loop) with given data?

    Hi all,
    Can anyone Please guide me how to create a text file in the given path dynamically? (with in the loop) with given data.
    For example:
    <%
    String data1="name";
    String data2="address";
    for(int i=0;i<10;i++)
    create the textfile at c:/test/sample.txt//name of the each file created being "sample.txt"
    //contents of text file will be
    data1+i; //to get name1,name2.....
    data2+i// to get add1,add2........
    delete(sample.txt) //to enable to create another file in the loop with same name
    %>

    The code which Ashokan mentioned is not is not creating a file.
    i used code given below to create and write into it.
    But, not is writing into it. I don't konw, where i am going worng !
    Code
    String sample2="C:/Ash/sample2.txt";     
                                                                                    FileWriter fw = new FileWriter(sample2,true);
                                            BufferedWriter bw=new BufferedWriter(fw);
                                            bw.write("EMP ID");     
                                            bw.newLine();
    Please help
    Regards
    aSh

  • How to get (old)previous date and create a loop?

    Hi!!!
    I am using java.util.date object.
    I need to get the 2 months back date,i.e. 60 days back date and to create a loop from that date till today and add it to combobox.
    Suppose today's date=3-12-2001
    x=date-60=3-10-2001
    and wants to create a loop from 3-10-2001 till today to display it in a combobox.
    Please tell me how can I do it?

    try the below which will print the date form 60 days before(from today) to todays date
    import java.util.Calendar;
    import java.util.Date;
    public class RandomNumber
         public static void main(String args[])
              RandomNumber rn = new RandomNumber();
              rn.printDate();
         public void printDate()
              Date todayDate = new Date(System.currentTimeMillis());
              Calendar calendar_ = Calendar.getInstance();
              calendar_.setTime(todayDate);
              calendar_.add(Calendar.DAY_OF_YEAR, -60);
              for(int i=0;i<60;i++)
                   System.out.println(calendar_.getTime());
                   calendar_.add(Calendar.DAY_OF_YEAR, 1);

  • How to create pageInstance for a Particular page using page lable?

    Hi,
    Please guide me on how to create a PageInstance Object for a Particular page , if we got the pagelabel.
    Thanks in advance.

    You need to write a logic, show header and footer when the particular is page is hit.
    <jsp:directive.page import="com.bea.netuix.servlets.controls.application.DesktopPresentationContext,
    com.bea.netuix.servlets.controls.page.PagePresentationContext"/>
    <jsp:scriptlet>
    DesktopPresentationContext desktopCtx = DesktopPresentationContext.getDesktopPresentationContext(request);
    BookPresentationContext mainBookCtx = desktopCtx.getBookPresentationContext();
    String activeBookDefLabel = mainBookCtx .getActivePage();
    BookPresentationContext activeBookCtx = mainBookCtx.getBookPresentationContextRecursive(activeBookDefLabel);
    String activeBookTitle = activeBookCtx.getTitle();
    String activePageDefLabel = activeBookCtx.getActivePage();
    PagePresentationContext activePageCtx = activeBookCtx.getPagePresentationContextRecursive(activePageDefLabel);
    String activePageTitle = activePageCtx.getTitle();
    if(!activePageTitle.equals("whatyouwant"){
    </jsp:scriptlet>
    HEADER
    <jsp:scriptlet>}</jsp:scriptlet>

  • How to create a actionListener for individual JButton in a for loop?

    How to create a actionListener for individual JButton in a for loop? Can someone help me?

    Do you mean something like this?:
    JButton tempButton;
    for(int i = 0; i < 10; i++){
         tempButton = new JButton("Button " + String.valueOf(i));
         tempButton.setActionCommand("action" + String.valueOf(i));
         tempButton.addActionListener(this);
         // or tempButton.addActionLister(new ActionListener(){...});
         frame.add(tempButton);
    }

  • How to create an infinite loop that cannot be cancelled?

    Hi , im new around java and i need a program that keeps on repeating after each each input/uses(generally meant for different user) and cannot either stop using "Cancel" or "x" while stopping only using the "stop" button
    I got a few lines of codes that look like this : String arg = "";
    do{
    JOptionPane.showInputDialog("hi");
    }while ( arg != "y" || arg!= "Y");
    and it cannot be stop with both cancel and"x"(which i wanted)
    but when i used this logic with
    Valid validUserInput = new Valid();
    do {
    userInput = validUserInput.validUserInput(a);
    switch(userInput){
    case 1 : validUserInput.optionOne(b);break;
    case 2 : validUserInput.optionTwo(c);break;
    case 3 : validUserInput.optionThree(d,e);break;
    default : validUserInput.validUserInput(f);
    }while(looping != "" || looping != " ");
    it does not really work(while it will keep looping, it can be easily stop by pressing cancelled or "x")
    So is there any logic or method that can prevent the program from being stop?
    Thankyou!

    elricscript wrote:
    "That is helpful. It gives him a direction where he can focus his research. Namely, 'how to run a program in kiosk mode' rather than 'how to create an infinite loop that cannot be cancelled.'"
    No... He already mentioned he wants to "e.g Interactive kiosk", so saying "properly kiosk it" isn't adding any new information. Rather it's just giving the person a dead point of: you're doing it wrong. Pointing out someone is wrong is not a positive enlightenment. Pointing someone in the right direction is more productive.
    >"That is helpful. It gives him a direction where he can focus his research. Namely, 'how to run a program in kiosk mode' rather than 'how to create an infinite loop that cannot be cancelled.'"
    No... He already mentioned he wants to "e.g Interactive kiosk", so saying "properly kiosk it" isn't adding any new information.
    Yes it is. He asked how to do it using some Swing trickery, and I said it won't work. Which is true. The OP didn't already know that, clearly, hence the question. Now he does. That's pretty much new information if you ask me.
    Rather it's just giving the person a dead point of: you're doing it wrong.Right. He is. However, the problem is now no longer related to Java, and not something I can help him with. You should try that: not answering questions you don't know the answer to. It's actually more helpful than posting misleading, wrong answers.
    Pointing out someone is wrong is not a positive enlightenment. I'm giving basic technical help, not yoga lessons.
    Pointing someone in the right direction is more productive.As already stated, I am as ignorant of how to make a Java application into a kiosk app as the OP is. What value can I add in light of that information? I began by answering a question that was not stated to be about kiosks. Once the question moved outside of my area of knowledge, I stopped trying to answer.
    I notice you're not giving him any help, being more interested in admonishing others as you are.

Maybe you are looking for

  • My icloud won't allow me to shut my system preference menu and is giving me an error message frostycup=1, Do I have a virus?!?

    I really need HELP!!!....I'm trying to shut down my computer and i have icloud open in system preferences and it's giving me an error message frostycup=1 which won't let me shut down my computer (it doesn't allow it) Is this a virus? and can I deal w

  • Learning HTML and CSS for DWCS3

    How do I determine what Page type and Layout to use for each webpage, as I do not have the trial and error experience with being a web designer? I'm reading "The Missing Manual" and HTML books. I've also been learning a lot from these forums... what

  • Connecting not only to my mac but what about my pc laptop?

    connecting works fine but when I try to hook it up to my pc (xp professional) it sees the network but says it cannot connect. Do you have any ideas? gr David

  • Publish completed, but no new folio in viewer

    I've published a new folio to our branded viewer, but it still hasnt shown up in the viewer. Usually, I can count on the folio showing up within minutes after the 'completed' message. I know there were server issues yesterday, so maybe there are stil

  • Decimal place problems

    Dear Gurus, Greetings. The issue is 2 days back I noticed that all my values in the Orders are appearing with one decimal place where as we have maintained in 2 decimal places. Like, we maintained 1234.56 but now it is appearing as 12345.6 When we en