Trying to make a looped animation outside of comp space: expression or keyframe?

Not quite sure on how to title it but thats the jist if it:)
Hello and thank you for your time,
Basically, I want to take a tiny small shape object within a comp size of 2048 x 1024, and have it animated so that this small shape object starts at the very top edge of the comp (where comp meets the grey dark-matter space), and move it straight down to the bottom edge of the comp, and then have to repeat again starting at the top again, so that this small shape object is constantly starting at the top, and moving down to the bottom.
From there I can adjust speed and even angle of travel so that I can rotate the trajectory and have it move at an angle for example.
Is there a expression that can repeat this tragectory over and over again without me always keyframing it??
D

You can set 2 position keyframes then add this expression to the Position property.
loopOut("cycle")
that will get you to the looping movement stage of your project. Now Pre-compose the layer and add time remapping to adjust the speed.
I'll have to think of a way to automate the rest. It will involve some advanced expressioneering.

Similar Messages

  • Trying to make a loop and repeat a question.

    Hello all,
    I am trying to get a question to repeat itself only if the user enters an invalid amount. I have got the program to generate the invalid question "This is an invalid rate of pay, please enter a valid rate of pay.", but after the program produces this question, the program will still continue (ask the next question) as if the input was valid. I have tried several different if and while statements to try to manipulate the program to call the previous question, but it will not????? Thank you all in advance.I am at a loss. Can someone help please???? Here is the section of code:
    // Employee's hourly rate.
    System.out.print( "Enter hourly rate of employee:" );
    Double employeeHourlyRate = input.nextDouble();
    System.out.println();
    // Monitors pay rate for validity.
    if ( employeeHourlyRate <= 0 ){
    System.out.println ( "This is an invalid rate of pay, please enter a valid rate of pay." );
    //Loops back to hourly rate question.
    I THINK THIS IS WHERE I NEED A LOOP COMMAND.?.?               
    } // Ends loop program.

    Hello and thanks for the advice! I have reconstructed as you suggested. However I am receiving 3 errors. I would also like the program to just repeat the question "Enter hourly rate of employee:". Here are the errors. How do I make this work? Thanks for the help. If it makes a difference I am running windows XP and using text pad.
    1. Payroll1.java:34: cannot find symbol
    symbol : variable employeeHourlyRate
    location: class Payroll1
    while( employeeHourlyRate <= 0) {
    2. Payroll1.java:75: cannot find symbol
    symbol : variable employeeHourlyRate
    location: class Payroll1
    else { grossPay = employeeHourlyRate * employeeHoursWorked;
    3. Payroll1.java:82: cannot find symbol
    symbol : variable employeeHourlyRate
    location: class Payroll1
    System.out.printf( "\nHourly rate: $%.2f", employeeHourlyRate );

  • I am trying to make an Edge Animation work on a CMS. I used "AdobeEdge.loadComposition" to find the .JS file, but it is looking for the images in the "/image" folder. I would like to store the images in another place. Please help me accomplish this.

    Here's the code:
    <script type="text/javascript" charset="utf-8" src="http://animate.adobe.com/runtime/5.0.1/edge.5.0.1.min.js"></script>
    <style>
        .edgeLoad-EDGE-4084323 { visibility:hidden; }
    </style
    <script>
       AdobeEdge.loadComposition('/media/products/edge_script/channels', 'EDGE-4084323', {
        scaleToFit: "none",
        centerStage: "none",
        minW: "0",
        maxW: "undefined",
        width: "361px",
        height: "268px"
    }, {"dom":{}}, {"dom":{}});
    </script>
    <div align="center">
      <div id="Stage" class="EDGE-4084323">
      </div>
    </div>
    Thank you for your help.

    Ahhhhhh, ok. Figured this one out after digging more.
    Here's the answer from another post. Hope it helps someone!
    If you need to set an absolute folder url, or you are pulling the content from a server that does not host the content, you can manually update the <projectname>_edge.js file to specify the directory:
    (function($, Edge, compId){
    //images folder
    var im='<SERVER/FOLDER>/images/';
    Just beware that if you re-publish the files, you'll need to redo any custom modifications.  I do this for off-server projects and it works very well so long as you make all the changes in each JS file where you need to specify the exact path.

  • Noob question: How do I make a loop of frames?

    So I'm trying to make an walking animation but I don't want to move a symbol in motion tween for each part of the leg each time. So how can I make a loop of it? Thanks!

    I'm trying to like, idk how to explain, like for example if I animate animate 1 second of walking, but I want to have 60 seconds of walking and I want an easier way of repeating the same walking sequence, how would I Do that? I can't end the layer or else it blanks out.

  • How to make a simple animation within text area ?

    Hi guys ,I am getting familiar with the Flash animations so I would appreciate a bit of help.
    I am trying to make a simple animation within the text input area i.e.
    1.FAN BASE
    2.FA   NBASE
    What I want is the letter N to move slowly towards letter B.I have done motion tweening but it doesn't work - either the whole text is moving left right  or the letter N is simply skipping to the second position without smooth animation.( there's no error on motion tween by the way) any ideas ?
    Thanks.

    best would be you would create your sentence "fanbase" and break down the single letters into objects by selecting the whole textfield and pressing CTRL+B, convert everyone of them into single movieclips or graphics and tween them accordingly.

  • I am trying to create a simple animated gif in Photoshop. I've set up my frames and want to use the tween to make the transitions less jerky. When I tween between frame 1 and frame 2 the object in frame two goes out of position, appearing in a different p

    I am trying to create a simple animated gif in Photoshop. I've set up my frames and want to use the tween to make the transitions less jerky. When I tween between frame 1 and frame 2 the object in frame two goes out of position, appearing in a different place than where it is on frame 2. Confused!

    Hi Melissa - thanks for your interest. Here's the first frame, the second frame and the tween frame. I don't understand why the tween is changing the position of the object in frame 2, was expecting it to just fade from one frame to the next.

  • How to make for loop pass only once in a next() method

    Good Day!
    Can anyone help me or suggest any idea to resolve my problem with the below code, wherein it will only pass the for loop only once. I already tried inserting the for loop in side the if (sqlset4.isFirst()) condition but the problem is it only retrieved the first row of the resultset.
    Cheers!
                   Statement sOutput = consrc.createStatement();
                            ResultSet sqlset4 = sOutput.executeQuery(xquery);
                            ResultSetMetaData rsMetaData = sqlset4.getMetaData();
                            int numberOfColumns = rsMetaData.getColumnCount();
                            String writefld = "";
                            while (sqlset4.next()) {
                                 writefld = "";
                                 for (int i = 1; i <= numberOfColumns; i++) {
                                     if (xxformatid.equals("1") || xxformatid.equals("3")) {
                                         writefld = writefld + "sqlset4.getString(" + i + ").trim()" + "|";
                                writefld = writefld.substring(0, writefld.length() - 1) + ")";
                                output.write("\r\n");
                                output.write(writefld);
                            output.close();I am using Netbean IDE 6.8
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi

    Hi everyone!
    What I actually trying to do is that I have a multiple tables and from these tables I'm going to write each of it into a flatfile that is a pipe delimeted that is why I have to make a loop to know how many fields I am going to write. The code that was attached are actually working, my only concern is that it will take a longer time of processing cause every record of a table it will pass to the for loop(checking how many column) wherein number of column/ were already known on the first loop.
    Hi kajbj,
    I think what your trying to explain is almost the same with below code which i had already tried. The problem with this is that the every loop of the outer loop data retrieve is only the data of the first record.
                   Statement sOutput = consrc.createStatement();
                            ResultSet sqlset4 = sOutput.executeQuery(xquery);
                            ResultSetMetaData rsMetaData = sqlset4.getMetaData();
                            int numberOfColumns = rsMetaData.getColumnCount();
                            String writefld = "";
                            while (sqlset4.next()) {
                                 writefld = "";
                                 if (sqlset4.isFirst()) {
                                    for (int i = 1; i <= numberOfColumns; i++) {
                                        if (xxformatid.equals("1") || xxformatid.equals("3")) {
                                            writefld = writefld + "sqlset4.getString(" + i + ").trim()" + "|";
                                writefld = writefld.substring(0, writefld.length() - 1) ;
                                output.write("\r\n");
                                output.write(writefld);
                            output.close();

  • My ipod shuffle cannot be restored not by the itunes nor by the reset utility it tolds me that it is in recovery mode , i tried to make every thing to resolve it but i can not what can i do ?

    my ipod shuffle cannot be restored not by the itunes nor by the reset utility it tolds me that it is in recovery mode , i tried to make every thing to resolve it but i can not what can i do ?
    notice : when every time try to reset it by the retore utility it tolds ( your i pod obtaining information from your ipod)
    and when i tried to restore it by the itunes it tolds ( there is an unknwon error num 1415)

    Now the iPod is unusable with the Recovery mode loop. The full error below:
    "iTunes has detected an iPod in recovery mode. You must restore this iPod before it can be used with iTunes."
    I can see my IPOD under devices on the left pane of iTunes while the error displays. But when I click OK, the IPOD disappears under DEVICES as does the DEVICES category.
    and also when i remove my ipod from computer it isn`t light any light never the battery show

  • Trying to make a dvd from a project and this error message appears .The project could not be prepared for publishing because an error occurred. (-2125)

    Trying to make a dvd from a project and this error message appears .The project could not be prepared for publishing because an error occurred. (-2125)

    Hi
    Error -2125
    OK Error code - 2125 usually indicates that the movie is to large.
    It use to pop up when going to iDVD !
    iDVD - DO NOT CARE ABOUT Gbs at all. I got movies on 500Mb that do not fit and 50Gb that fits nicely.
    iDVD - ONLY CARES ABOUT - Duration. Duration is Movie time + MENU TIME. Choice of
    menu and animation of this can take lost of "DURATION" 15 minutes or even more.
    Choice of encoding method and use of SL or DL DVDs determine the DVD limit.
    iDVD 08 & 09 & 11 has three levels of qualities.
    iDVD 6 has the two last ones
    • Professional Quality (movies + menus up to 120 min.) - BEST
    • Best Performances (movies + menus less than 60 min.) - High quality on final DVD
    • High Quality (in iDVD08 or 09) / Best Quality (in iDVD6) (movies + menus up to 120 min.) - slightly lower quality than above
    DL DVDs can store about double of these times.
    ALTERNATIVE - The Error Code can indicate that free space on Start-up (BOOT) hard disk is
    less than 25Gb (my minimum)
    calbe - wrote
    If you are getting OSStatus error -2125, I've seen this caused by the computer display sleep settings.
    Try changing the sleep settings to never and see if you are able to export.
    Yours Bengt W

  • I tried to make a second library, but my first one was deleted so I did it again but now I have doubles of every song. How do I restore my itunes back to the way it was before I tried to make a 2nd library?

    Like I said I tryed to make another library, I did what Itunes told me to do but it only erased the library I had and made a new one. So I did it again but I now have duplicates of every song. How do I get my it back to the way it was, before I tried to make a second library?

    C:\Users\Cheye\Music\iTunes should be the original library. You should be able to connect to it as follows.
    Close iTunes, wait a few seconds, click the icon that starts iTunes and immediately press and hold down the shift key. Keep holding until asked to choose or create a library. Click choose and browse to the file C:\Users\Cheye\Music\iTunes\iTunes Library.itl.
    Depending upon exactly what you did this has either restored your library, or done absolutely nothing at all. That was the reason for asking you to check using the script.
    Assuming you still have a library full of dupes there are a number of ways to go. I've written a script called DeDuper which can help remove unwanted duplicates which I discuss in some detail in this  thread. While it should work it will be ideal if it discards the copies that are outside the media folder C:\Users\Cheye\Music\iTunes\iTunes\iTunes Media. I've a feeling it will do exactly that, but it depends in part on exactly you got into this mess. It would be worth doing a few sample runs of just a few sets of duplicate files first.
    tt2

  • Controllers in the same WISM module in the 6500, i'm trying to make one of them anchor controller for guest internet

    I have 2 controller in the same WISM module and I'm trying to make one of them Anchor controller for guest WLAN, but when I give put the anchor controller in a separated non-routed VLAN and connect it to an outside switch by creating VLAN 192 on the core. ( the Internet router is connected to the same switch).-it is showing path down... ( VLAN 192 visitor Internet and VLAN 224 my internal controller management VLAN are not talking)
    there is no routing between these 2 VLAN ( because of security), but i can't get the controller to communicate.
    -if I connect my laptop to this switch I'm able to go out on Internet but my visitor WLAN is not able to get IP address from the router connected to this switch.
    - I called Cisco and one the guys told me that i can leave the management in VLAN 224 for the controller to communicate ( which they did), but the issue I'm having right now is that my visitors are not getting IP addresses from this VLAN at all
    some one please advise
      vlan192   4/1 vlan 192              int g0/0 192.168.2.201
      6500 ----- switch ---- router---------  (outside)
        |         |   |
        |        DHCP server
       WLC

    A couple of questions, is VLAN 192 allowed across the trunk link to the wlc?  Do you have an interface tagged for vlan 192, with a valid address?  What is providing the DHCP?
    Cheers,
    Steve
    If  this helps you and/or answers your question please mark the question as "answered" and/or rate it, so other users can easily find it.

  • Motin 5-How can i make a travel animation in a long image file (tiff 31978 x 576)

    Hello out there,
    I am trying to make a travelling camerasequence. But have problem achieving any good result.
    At the moment I am stuck with a pixelized image on the canvas.
    Any hint or procedure will be highly welcomed.
    Thnx in advance
    Plumum

    ThanksGuys  for reaction,.
    I managed to do the job using anime pro studio. Spltted the file in three smaller selections had no graphiccapacity problem there could even preview live. I was just anxious to try out the possibilities with lighting of motion. Also I made an attempt with keynote and no graphical problems there either with the three partial files.
    It's never a ood idea to dive into new software when under deadline pressure, so I give it a more thorough try later.
    I will make a documented survey of my endeavours.
    Thanks again.
    Ruud

  • I need help looping animation

    okay so i'm trying to loop the animation. i tryed using a for loop to loop it 4 times and it looped my trace statemnt 4 times but not my animation. any suggestions on how to loop the animation?
    below is the code i have tried
    import fl.motion.Animator;
    for (var i:Number = 0; i < 5; i++)
    trace(i);
    var this_xml:XML = <Motion duration="449" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
    <source>
    <Source frameRate="19" x="0" y="0" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" symbolName="cowanimation">
    <dimensions>
    <geom:Rectangle left="-8.5" top="-21.9" width="17.05" height="43.85"/>
    </dimensions>
    <transformationPoint>
    <geom:Point x="0.49853372434017595" y="0.4994298745724059"/>
    </transformationPoint>
    </Source>
    </source>
    <Keyframe index="0" tweenSnap="true">
    <tweens>
    <CustomEase>
    <geom:Point x="0.2096" y="0"/>
    <geom:Point x="0.811" y="1"/>
    </CustomEase>
    </tweens>
    </Keyframe>
    <Keyframe index="194" tweenSnap="true" x="67.65" y="-80.3" rotation="60">
    <tweens>
    <CustomEase>
    <geom:Point x="0.2096" y="0"/>
    <geom:Point x="0.811" y="1"/>
    </CustomEase>
    </tweens>
    </Keyframe>
    <Keyframe index="240" tweenSnap="true" x="77.75" y="-62.25" rotation="-150">
    <tweens>
    <CustomEase>
    <geom:Point x="0.2096" y="0"/>
    <geom:Point x="0.811" y="1"/>
    </CustomEase>
    </tweens>
    </Keyframe>
    <Keyframe index="378" tweenSnap="true" x="17.35" y="13.05">
    <tweens>
    <CustomEase>
    <geom:Point x="0.2096" y="0"/>
    <geom:Point x="0.811" y="1"/>
    </CustomEase>
    </tweens>
    </Keyframe>
    <Keyframe index="448" tweenSnap="true" x="0" y="0" rotation="0">
    <tweens>
    <CustomEase>
    <geom:Point x="0.2096" y="0"/>
    <geom:Point x="0.811" y="1"/>
    </CustomEase>
    </tweens>
    </Keyframe>
    </Motion>;
    var this_animator:Animator = new Animator(this_xml,this);
    this_animator.play()

    The problem with a for and while loop is that it will take complete the entire loop during the frame.  That is why u dint see it.  What u could do is increase the index by 1 each frame and then display that movie clip frame.  Via gotoAndStop(index).

  • Help : Lost in Code - Trying to make a simple Click-Through

    Hey Everyone -
    I've come in search of some help and expertise. I've found a
    website which I would like to copy in functionality - in hopes of
    creating a simple slideshow of images. They are using the MOOTOOLS
    framework for the Slide animation - i've gotten that to work
    - but i can't figure out how to replicate the clickthrough-
    SO - what i'm trying to do is copy this page exactly -
    http://www.thegraphicgraphic.com/
    you'll see that it's just three lines of text ( rollovers )
    and the last line opens up a javascript slider window - now i've
    managed to copy most of it by taking the code and figuring out the
    urls for the javascript and such .
    check out my version here :
    http://www.nontype.com/beograd.html
    i've got the css and java stuff working okay - but what i
    can't seem to figure out at all is how they are getting the
    rollover links to link to the NEXT IMAGE - they're using some tags
    that i don't understand : it looks something like this : : :
    <div id="header">
    <ul>
    <li>
    <a href=""
    onmouseover="this.innerHTML = 'NEXT'"
    onmouseout="this.innerHTML = 'THE'">
    THE</a>
    </li>
    <li>
    <a href=""
    onmouseover="this.innerHTML = 'PREVIOUS'"
    onmouseout="this.innerHTML = 'GRAPHIC'">
    GRAPHIC</a>
    </li>
    <li>
    <a href="#" id="button" onmouseover="this.innerHTML =
    'INFORMATION'"
    onmouseout="this.innerHTML = 'GRAPHIC'">
    GRAPHIC</a>
    </li>
    </ul>
    </div>
    AND The JAVASCRIPT Used for both the sliders ( and I assume
    the click-through functionality ) is :
    window.addEvent('domready', function() {
    var Slider = new Fx.Slide('about',{mode: 'horizontal',
    duration: 100}).hide();
    $('button').addEvent('click', function() {
    Slider.toggle('horizontal');
    function noSpam(user,domain) {
    locationstring = "mailto:" + user + "@" + domain;
    window.location = locationstring;
    function MM_openBrWindow(theURL,winName,features) { //v2.0
    window.open(theURL,winName,features);
    I just want to click NEXT to progress to the next background
    image / and PREVIOUS for the prev. image . . . . . . . . Could
    anyone here tell me how to do this as in the first site ? ? ? Would
    I be able to simply create multiple HTML Pages - use an Embed tag -
    and then link the PREV and NEXT buttons with tags ?
    I'm just trying to make this work by any means but am finding
    the code impossible to crack -
    I tried asking this question in the mootools forum but was
    told to look elsewhere - I'm more than willing to use
    any other means in order to make this work .
    MANY THANKS IN ADVANCE FOR YOU HELP . . .

    Have you asked the authors?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "aerolex" <[email protected]> wrote in
    message
    news:f2naeu$q66$[email protected]..
    > Hello - would anyone have any advice - or should i
    somehow reword the
    > question ?
    >
    > or could some provide some insight as to where i might
    look to resolve
    > this question ?
    >
    > THANKS AGAIN

  • Im trying to make a simple 360 rotation for a 3d logo in CC 2014 but when i tried to create the 1st key frame the image when out axis

    im trying to make a simple 360 rotation for a 3d logo in CC 2014 but when i tried to create the 1st key frame the image when out axis

    I find that if you have multiple 3d object  they must be merged into a single 3d layer their positions reset to align to the same axises then sized and positioned along them. The layer should then be able to be animated well around an axis like the y axis. Here a Sphere, Cylinder and ring. http://www.mouseprints.net/old/dpr/McAssey-CC.mp4

Maybe you are looking for