Rotating Animation with a Seamless Loop

Hey all,
I'm trying to do something very simple in PS CS6 that's proving to be, well, not so simple (for me at least). All I want to do is animate a layer in a clockwise direction and end up with a seamless looping animated gif. I discovered rotation can't even be animated unless you convert the layer to a smart object, first of all (and by accident. And the "Motion" function doesn't seem to work much at all, where there is a "Rotate" option.). And of course simply copy-pasting the first keyframe in the timeline to the end of the timeline just makes the layter rotate clockwise, then counterclockwise back to it's original position.
So.. I'm sure this is a simple task for experienced animators in Photoshop, so if someone could fill me in I'd greatly appreciate it.
Thanks!
Andy

Thanks for replying conroy,
Well, PS only lets you rotate up to 180 or -180 degrees for starters, and also if I do like you suggest with 0* at the start and end, it will just cause the last rotation to turn counterclockwise back to the initial position of the smart object, which is not what I want. I want the smart object to keep rotating clockwise. But thanks anyway for the input, and maybe I've misunderstood in some way.
In the meantime, I have actually figured out a crude way to achieve the continuous clockwise rotation of the smart object... Simply use the Shift key and rotate in 15* increments, making keyframes along the way until the layer is rotated back to it's initial position. Unless someone else has a better method, it looks like I'll have to live with that.
Thanks again!

Similar Messages

  • Animated GIFs don't loop in exported movies from Keynote 3

    I am just getting started with Keynote 3.0 and really like what I have seen. I created a series of slides and pasted animated GIFs in various places. They are set to loop on each slide as Keynote presents the slides. The slide show has preset transition and build timings and there is music playing continuously, throughout the show. It works quite well. (However, there is very intermittent choppy audio and video playback when there are builds or transitions occurring. Any thoughts on optimizing this?)
    The problems begin when I ask Keynote to export the slideshow to a movie. The main problem that I am struggling with is that the animated GIFs don't loop in the rendered movie, regardless of which compressor I choose. I don't see anything in the documentation. I have also searched several of the discussions on making movies from Keynote 3 but have not specifically seen animated GIFs discussed. What am I missing here?
    Also, I want to be able to play this movie on a DVD player at an upcoming function. Any recommendations for an approach that will be best? I have QT 7 Pro and the iLife '06 suite.
    Thanks, in advance, for any forthcoming suggestions.
    eMac G4   Mac OS X (10.4.6)   1.25 GHz, 1 GB RAM

    My guess is, it's too much of a pain to have to calculate how many times it will actually loop and create the loops and then composite everything. Running it in Keynote just tells the thing to keep playing over and over till you do something that stops it. There's a BIG difference there as one is just being told to play, the other is having to be placed in a movie with an exact number of frames, so there are a bunch of calculations involved.

  • Animated .gif won't loop a specified amount of times

    I created an animated .gif in photoshop and set it to loop twice. It works fine in every other browser except firefox. Here is a test example:
    http://elliottkirby.com/test/
    The box is set to animate across twice. Any thoughts? I tested setting it to loop "forever" and it works in FF...however the ad I'm creating has a loop time limit. I checked my config settings and image animation is set to normal. Thanks!

    From what I understand of your problem;
    - You have made your own animated gifs
    - With the software to make these gifs you have set them to loop their animations 3 times
    - They loop continuously
    I don't see how java can be expected to interpret the animated gif software instructions to loop only 3 times and would assume that there are various proprietry ways of setting this (an assumption based on applets /javascript etc, that rely on the client-side browser interpreter). So, if you loop your animated gif or have any form of animated gif that you import into your program with getDocumentBase /getCodeBase as a (pre-animated) gif, then this is exactly what I would assume would happen.
    The answer is to seperate your images with eg;-
    smiley1[0];
    smiley1[1];
    smiley1[2];
    run a seperate thread, cycle through them as you wish and stop.
    I'm fairly sure that there is nothing in either the swing libraries or the jmf libraries that can resolve this any other way, so your choices are write extra code and have a pool of threads to control this, or leave it as is.

  • Is it possible to make a seamless loop on an embedded video?

    Hello!
    I have an embedded 10-second video (of water ripples, for example) that I would like to loop continuously without displaying an obvious break/jump from the end frame to the first frame.The video itself does not end at the beginning, so it cannot simply be looped. The only way I can think of to simulate a seamless loop it to use the alpha/fade tween somehow, but I have no clue where to begin, or if this is even possible in flash. I just have these two theories:
    THEORY #1:
    If a movie clip can be reversed, then I can append a reversed copy of the clip on the end, which would create an actual seamless loop.
    THEORY#2:
    If I can cut the first 2 seconds of the clip, and paste it over the last 2 seconds of the clip, then fade in on the first one, this would create a virtual seamless loop.
    Of course, I have no idea if these options are possible in Flash (I have CS3).
    Many thanks in advance for any assistance,
    Davide

    Unfortunately, fading out at the end and fading in at the beginning does not create a seamless loop, since there are a few moments when the clip alpha is 0% and everything is completely black.This might be ok for some situations. But for creating a seamless loop, I need to have something, well, more seamless.
    Actually, I think I may have come up with a possible workaround to simulate a true seamless loop of an embedded video (at least get closer to it) by placing a still image (which has been converted into a movie clip) of the first frame on a new layer at the last frame, and then copying that keyframe and pasting it about 25 frames before the end, then alpha fading from the first keyframe to the final frame.
    It is not perfect, but it's something.
    Perhaps someone else might have a better solution?

  • GPRM-based button with Start at Loop Point Troubles

    First of all, I'm running DVD Studio Pro 4.2.1 on OS X 10.4.11
    I'm trying to finish a project where when a video ends, it jumps back to the menu directly to the next button in order. This menu also has a loop point set in order to skip an opening animation. So I wrote the following script to accomplish this:
    1: mov GPRM 0, SPRM 8
    2: div GPRM0, 1024
    3: add GPRM0, 1
    4: jump "menu name"(Loop) [GPRM 0]
    When I simulate the disc, everything works fine. However, a burned disc fails to return to the loop point. It will start on the next button when the highlights appear at the loop point, but the menu will begin from the beginning animation, not at the loop point.
    Is there some conflict between the GPRM based button command and the start at loop point command? I did perform a test with the GPRM based button commands left out and the start at loop point function worked perfectly.
    Edit: The "GPRM 0" at the end of the script shouldn't be a link but in brackets instead... the forum changed it to a link by default.
    Message was edited by: brazzamHD

    Given lines 1, 2 and 3, it is very unlikely that GPRM0 will ever be zero...
    What your lines are saying, roughly, is:
    "find the value of the last button that was pressed on a menu, and reduce it to a simple integer we can work with. Add '1' to the button number and then jump to the loop point on the menu IF the value in GPRM0 is '1'"
    The problem is that it will never be '1' because of line 3. The lowest value it could be is '2' when you keep that line in there.
    Also, you don't specify which GPRM you are evaluating in either version of line 4 - I assume GPRM0, as that is the one you are working with in lines 1, 2 and 3.
    If you want to return to the loop point of a menu depending on the button the user previously selected being the first button then the code is this:
    mov GPRM0, SPRM8
    div GPRM0, 1024
    Jump MenuName (Loop) If (GPRM0 = 1)
    However, you might want to simply start at the loop point of the menu but make sure that the user is on the same button they were on previoulsy, in which case the code would be:
    mov GPRM0, SPRM8
    div GPRM0, 1024
    Jump MenuName (Loop) \[GPRM0\]
    To do this you \must make sure that you have checked the GPRM based button checkbox in the property inspector.
    If you want to go to the next logical button after the one the user was on previoulsy, then you would need to add a '1' to it. The code looks like this:
    mov GPRM0, SPRM8
    div GPRM0, 1024
    add GPRM0, 1
    Jump MenuName (Loop) \[GPRM0\]
    Note that the bracket shapes are important... a GPRM based button jump means that you will go to a button which has a value the same as that in the specified GPRM. The square brackets signify it is this kind of move, and not a simple evaluation of true or false.

  • Timed 2d animation with AWT

    I am making an AWT app that involves moving a series of images across the screen at a set interval.
    There is a ton of code involved with this, so I am going to try to keep this as abstract as possible.
    In short, the images need to traverse an 800 pixel space (horizontally) in 3715.192.... milliseconds, or 3715192743.764... nanoseconds, which is 4343990.929... nanoseconds per pixel.
    Each of the images has a Point object that tracks it's current position.
    The panel the objects are drawn on has a inner class that implements runnable() called Animator. The Animator waits every 4343990 ns, and iterates each object's Point.x by -1 (right to left), like this:
    class Animator implements Runnable {
         WordPanel wordPanel;
         Animator(WordPanel wordPanel) {
              this.wordPanel = wordPanel;
         public void run() {
              // TODO Auto-generated method stub
              while (true){
                   while (TransportState.getCurrentState()!=TransportState.TransportEventStates.STOP) {
                        long startTime = System.nanoTime();
                                    // the next while loop should throttle execution of the loop to 4343990 ns
                        while ((System.nanoTime() - startTime) <= 4343990L) {
                             Thread.yield();
                        if (songFileWordImages != null && songFileWordImages.size()>0) {
                             synchronized (songFileWordImages) {
                                  for (SongFileWordImage sfwi : songFileWordImages) {
                                       synchronized (sfwi) {
                                            int oldX = sfwi.getPoint().x;
                                            int oldY = sfwi.getPoint().y;
                                            sfwi.setPoint(new Point(oldX - 1, oldY));
                        wordPanel.repaint();
    }Everything is back-buffered (double buffered) properly, the problem isn't flickering. The problem is with the while loop that is supposed to throttle the iteration of the x values to move the images. It seems to be waiting too long between iterations.
    I arbitrarily lowered the 4343990L by half, and that made it closer to the right speed, but still too slow. From that point, I just continually arbitrarily lowered the value until it "looked right".
    The problem is that I can't stand the arbitrary solution, I need to know WHY.
    Testing said loop, I had it output System.nanoTime() - startTime to the screen, and found that it sometimes seemed to go "back in time". In theory, the values should have continually gotten bigger until they hit 4343990, but I noticed that it only did it generally, and that there were some non-linear values in the output. WTF?
    Can someone give me some pointers on doing smooth animation in AWT without having to deal with ns? I know that Swing has some animation tools, but I want this to be 100% AWT.

    Here is an example of using the Swing timer class, to show how simple it is:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class SwingTimerTest extends JFrame implements ActionListener {
         private Timer timer;
         private JLabel label;
         private int iterCount;
         public SwingTimerTest() {
              int ms = 50; // Delay at which to repaint, in milliseconds.
              JPanel cp = new JPanel(new BorderLayout());
              cp.setBorder(BorderFactory.createEmptyBorder(5,5,5,5));
              JLabel topLabel = new JLabel("I will get updated every " + ms +
                                                      " milliseconds.");
              cp.add(topLabel, BorderLayout.NORTH);
              label = new JLabel("I have been updated 0 times.");
              cp.add(label, BorderLayout.SOUTH);
              iterCount = 0;
              timer = new Timer(ms, this);
              timer.setRepeats(true);
              timer.start();
              setContentPane(cp);
              setDefaultCloseOperation(EXIT_ON_CLOSE);
              setTitle("Swing Timer Demo");
              pack();
         // Called by our Timer at a fixed delay.
         public void actionPerformed(ActionEvent e) {
              if (e.getSource()==timer) {
                   iterCount++;
                   label.setText("I have been updated " + iterCount + " times.");
         public static void main(String[] args) {
              SwingUtilities.invokeLater(new Runnable() {
                   public void run() {
                        new SwingTimerTest().setVisible(true);
    }

  • Animation with motion path like flash

    Hi at all,
    is it posible to animate an object in circle move like motion path in flash?

    @resdesign
    If you were right, the example below won't work ;-)
    Rotation is  rotating an object around its origin. If the origin is outside the object, it moves in a circle.
    Here is the example: http://mcmm.com/edge/circular/circular.html
    It has been done like in my description above.
    All objects in the example are simply animated with rotation. The earth rotates around its origin and the planets do the same.
    The only difference between earth and planets is that the earth has its origin untouched while the planets have their origin outside.

  • Seamlessly looping FLVPlayback video no longer seamlessly looping

    Hi,
    Back in 2009 I created seamless video loops using the FLVPlayback component and 'addEventListener' (as3)—and they worked great!  looping round and round seamlessly—equally well in browsers as in flash. The videos were of varying lengths, small (all between 50—500K), and they looped perfectly.
    Recently I've gone back to update things and noticed that my video loops are no longer seamlessly looping in any of the web browsers. Now there's a big pause interrupting the seamless flow.
      ??? why?  Has something in the delivery (browsers/flashplayer) changed?  All my video loops still run seamlessly when tested in Flash (CS5).  I spent a good amount of time investigating various angles but could not find any solution.
      Anyhow, here's the actionscript:
      stop();
      import fl.video.*;
      toggleButton.addEventListener(MouseEvent.MOUSE_OVER, rolloverToggle);
      toggleButton.addEventListener(MouseEvent.MOUSE_OUT, rolloutToggle);
      toggleButton.addEventListener(MouseEvent.CLICK, toggleClick);
      toggleButton.buttonState = "off";
          function rolloverToggle(event:MouseEvent):void {
          toggleButton.gotoAndStop(toggleButton.buttonState+" over");
          function rolloutToggle(event:MouseEvent) {
          toggleButton.gotoAndStop(toggleButton.buttonState);
          function toggleClick(event:MouseEvent):void {
              if (toggleButton.buttonState == "on") {
                  toggleButton.buttonState = "off";
             vid_16_monty.pause();
              }else {
                  toggleButton.buttonState = "on";
             vid_16_monty.play();
          vid_16_monty.addEventListener(VideoEvent.COMPLETE, rewind);
          function rewind(event:VideoEvent) {
             vid_16_monty.play();
              toggleButton.gotoAndStop(toggleButton.buttonState+" over");
    the video that goes with the above script can be viewed here:  http://www.designfail.us     cat should be in seamless motion... but it's not.
    Also, not sure it would make much difference, but I'd be happy to attach an fla file—Adobe says it's a good idea but nowhere do they tell you how to attach an fla file... very peculiar, especially in these emphatic UI/UX times we live in.

    I am wondering too, now that you mentioned it
    Here´s my EventHandler-Code:
    unit.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
    private function netStatusHandler(event:NetStatusEvent):void {
        switch (event.info.code) {
            case "NetConnection.Connect.Success":
                break;
            case "NetStream.Play.Start":
                if(!inited) {
                    inited = true;
                    NetStreamWrapper(unit.Stream).path = path;
                    width = video.videoWidth;
                    height = video.videoHeight;
                    log.info(Path+": Size of video: "+video.videoWidth+" "+video.videoHeight);
                    CalculateMemory();
                break;
            case "NetStream.Buffer.Full":
                if (!initializedStream) {
                    log.info(Path+": Pausing and rewinding stream: "+unit.Stream.time);
                    log.info(Path+": Size of video: "+video.videoWidth+" "+video.videoHeight);
                    unit.Stream.pause();
                    //NetStreamWrapper(unit.Stream).initialized = false;
                    initializedStream = true;
                    if(unit.Stream.bytesLoaded == unit.Stream.bytesTotal) {
                        SetCurrentPreparationLevel(CommittedDesiredPreparationLevel);
                break;
            case "NetStream.Seek.Notify":
                break;
            case "NetStream.Play.Stop":
                if(initializedStream) {
                    dispatchEvent(new AssetEvent(END_OF_STREAM, this));
                break;
            case "NetStream.Play.StreamNotFound":
                RaiseError("File for stream not found", event);
                break;
            case "NetStream.Seek.InvalidTime":
                log.warn("Illegal seek(should not happen, but more or less harmless)");
                break;
            case "NetStream.Seek.Complete":
                log.warn("Finished seeking");
                break;
            default:
                if(event.info.level == "error")
                    RaiseError(event.info.code, event);
                break;

  • Complex Rotation Animation

    Hello to everyone,
    This is my first time here in the forum.
    I have recentyl started using after effects and I am very surprised at how easy it is to create animation & effects with it.
    My question is about a rotation animation I have come across.
    Particularly, although I thought it was easy, I am not able to recreate the rotation of the icons at approximately 40sec of
    this bluefx video. When the main icon explodes they all start to make a rotation animation around their vertical axis.
    However, I cannot recreate it with simple rotations.
    I have seen this animation in other videos as well, so I believe that there must be some kind of a technique (like a design
    pattern) for it.
    I have tried using the combination of a null object controlling a camera and setting the object to be rotated to "orient towards
    camera". I see the animation in the RAM preview through another camera of the composition. However, when I render it the
    animation does not show because the active camera is the one moving. And it is moving in order for the object to follow it. So,
    the animation cannot be rendered.
    I would be very grateful if anyone could help me out with this. Ideas, known techinques, anything.
    Thanks a lot!

    I'm not sure I follow you. Rotation values are always based on the x, y, and z planes of the layer. You can change the way the rotation tool (w) effects these numbers by selecting Local, World, or View axis modes or by picking Rotation or Orientation in the tool bar.
    I usually do all of my rotation manipulation in the timeline.
    Taking a closer look at the animation on my computer it looks like you can duplicate it with z and x rotation only. It just takes 3 keyframes for x and 2 for z with a little graph editor tweaking.

  • Creating animations with transparent backgrounds?

    I'm running into some problems when using After Effects to create animations with transparent backgrounds for Keynote...
    I use animated gifs and short quicktime movies with uniform backgrounds as source files, use color keying to take out the backgrounds, preview them to see if they look OK, render the results as RGB+alpha, and... they don't show up as transparent in Keynote. They work in Powerpoint, however. I've tried outputting as .mov, as .gif, as premultiplied vs straight alpha... no joy. Can someone explain (or point me to an explanation) of how Keynote differs from other programs in its handling of transparency? What am I missing?

    Using a TYPE_INT_ARGB BufferedImage worked beautifully. I had played around with Image for hours, but it never occurred to me that BufferedImage would be needed. :)
    many, many thanks,
    Steven

  • What's wrong with this while loop?

    Hi, folks. for the code fragment blow, resultSetArray holds two objects of type ResultSet. From those println statement, i can see the whole while loop(the most outter one) process goes alrite the first time right from begining to the end. However, when variable j increases from 0 to 1, the code stops executing at the the line while(rs.next). I just couldnt figure out what causes the problem while i've been fighting with it for several hours. Could someone plz throw me some lights? With your help, i could possibly go to bed before sun rises...
            while(j<resultSetArray.length)
              //for(int j=0; j<resultSetArray.length; j++)
    System.out.println("show me j is called twice " + j);
                   ResultSet rs = resultSetArray[j];
    System.out.println("the converting rs object is called twice and it is not null " + rs);
                  int numWantedColumns = wantedColumnNames.size();
                  //if it's about go or single trip
                  if(j==0 && rs != null)
                      go = new Element("Go");
                       //go.setText("go");
                       //result.addContent(go);
                  //if it's about return trip
                  else if(j==1 && rs != null)
                      back = new Element("Back");
                       //back.setText("back");
                       //result.addContent(back);
                  if(rs!= null)
    System.out.println("this hell is called twice coz it's not null");
                   while(rs.next())
    System.out.println("what about here?");
                        Element flightInfo = new Element("FlightInfo");
         System.out.println("while rs.next() is called");
                        for (int i = 0; i < numWantedColumns; i++)
                           String columnName   = (String)wantedColumnNames.get(i);
         System.out.println("column name is " + columnName);
                           String value = rs.getString(columnName);
          System.out.println("column value is " + value);
                           flightInfo.addContent(new Element(columnName).setText(value));
                        if(j==0)
                           go.addContent(flightInfo);
                        else if(j==1)
                             back.addContent(flightInfo);
                   else if(rs == null)
                        break;
                   j++;
             }

    i've got the problem sort out, eventually. there was actually nothing wrong with the while loop. it was caused by a typo in databse, instead of having Brisbane, i typed Bisbane. The single letter r cost me more than 6 hours to figure it out. it was such a painful feeling while i realized i made a such stupid mistake.
    by the way, as jnw777 mentioned, output rs.next() info instead of the test line. i did try it, however i didnt realize even System.out.println(rs.next()) would cause the cursor move down one row from its current position. so, plus the original while(rs.next()) statement, it was moving the cursor two rows down at a time! And i just couldnt think of this caused me the fact i was only getting the even number row of the ResultSet while i was sniffing the bug from a class with 700+ lines of code. I was so excited and just couldnt stop yelling at the moment i got over it! That was a damn execiting moment...
    now, i am wondering if anyone in this wonderland would like to share his/her stories.

  • I'm a Graphic Designer and Animator with a Mid 2012 15" MBP...Programs slowing need up grade

    Hey everyoe,
    I'm a Graphic Designer and Animator with a Mid 2012 15" MBP. My programs get REALLY SLOW, ToonBoom Harmony and Sometimes Illustrator, HELP! I upgraded my Ram to 16GB LONG time ago and it's made a big difference but still the stuff I make is semi complicated/detailed I can't imagine this is the strength of my MBP I refuse to accept that. WIth that said HELP ME PLZ!!! I have deadlines and I dont know what else to do! Steve Jobs my life is your hands right now man...

    Maz0327,
    if you boot into Safe mode, log in, and run your graphic design and animation apps, do they run just as slowly then?

  • I need help with my for loop in this array

    Ok well, I can't get my code to work. Also, please remember that this is just my draft so it isnt pretty. I will fix it up later so please look at it. The thing I want to do is look into the array for a time that matches what the user entered and return the toString() of that one. I know there is something wrong with my for loop but I cant figure how to fix it. please help. here is what i have so far:
    import javax.swing.JOptionPane;
    public class Runner
        public static void main (String[] args)
            String timeStr;
            int time, again, optiStr;
            Inbound[] in = new Inbound[25];
             in[0]=new Inbound ("",0,"On Time num0");
             in[1]=new Inbound ("",2,"On Time num1");
             in[2]=new Inbound ("",3,"Delayed num2");
             in[3]=new Inbound ("",4,"On Time");
             in[4]=new Inbound ("",5,"On Time");
             in[5]=new Inbound ("",6,"Canceled");
             in[6]=new Inbound ("",1,"Canceled num6");
             in[7]=new Inbound ("",8,"On Time");
             in[8]=new Inbound ("",9,"Delayed");
             in[9]=new Inbound ("",10,"On Time");
             in[10]=new Inbound ("",11,"Delayed");
             in[11]=new Inbound ("",12,"On Time");
             in[12]=new Inbound ("",13,"Delayed");
             in[13]=new Inbound ("",14,"On Time");
             in[14]=new Inbound ("",15,"On Time");
             in[15]=new Inbound ("",16,"On Time");
             in[16]=new Inbound ("",17,"Canceled");
             in[17]=new Inbound ("",18,"On Time");
             in[18]=new Inbound ("",19,"On Time");
             in[19]=new Inbound ("",20,"Canceled");
             in[20]=new Inbound ("",21,"On Time");
             in[21]=new Inbound ("",22,"Delayed");
             in[22]=new Inbound ("",23,"On Time");
             in[23]=new Inbound ("",24,"Cancled");
             in[24]=new Inbound ("",7,"On Time num24");
            do{
                timeStr = JOptionPane.showInputDialog ("In military time, what hour do you want?");
                time = Integer.parseInt(timeStr);
                if (time<=0 || time>24)
                 JOptionPane.showMessageDialog (null, "Error");
                 optiStr = JOptionPane.showConfirmDialog (null, "If you want Incoming flights click Yes, but if not click No");
                if (optiStr==JOptionPane.YES_OPTION)
    //(ok this is the for loop i am talking about )
                    for (int index = 0; index < in.length; index++)
                      if ( time == Inbound.getTime())
                   JOptionPane.showMessageDialog (null, Inbound.tostring());  //return the time asked for
    //               else JOptionPane.showMessageDialog (null, "else");
                }//temp return else if failed to find time asked for
    //             else
    //               if (optiStr==JOptionPane.CANCEL_OPTION)
    //                 JOptionPane.showMessageDialog(null,"Canceled");
    //              else
    //                {Outbound.run();
    //                JOptionPane.showMessageDialog (null, "outbound");}//temp
                  again=JOptionPane.showConfirmDialog(null, "Try again?");
            while (again==JOptionPane.YES_OPTION);
    }any help would be greatly appriciated.

    rumble14 wrote:
    Ok well, I can't get my code to work. Also, please remember that this is just my draft so it isnt pretty. I will fix it up later so please look at it. The thing I want to do is look into the array for a time that matches what the user entered and return the toString() of that one. I know there is something wrong with my for loop but I cant figure how to fix it. please help. here is what i have so far:
    >//(ok this is the for loop i am talking about )
    for (int index = 0; index < in.length; index++)
    if ( time == Inbound.getTime())
    JOptionPane.showMessageDialog (null, Inbound.tostring());  //return the time asked for
    Inbound.getTime() is a static method of your Inbound class, that always returns the same value, I presume? As opposed to each of the 25 members of your array in, which have individual values?
    Edited by: darb on Mar 26, 2008 11:12 AM

  • How do i create an animation with one frame for each layer?

    I have 76 sequential images that i've loaded as layers using bridge, then aligned using photoshop.
    I would now like to create a 76 frame animation with one animation frame for each layer
    (the layers are in sequential order).
    is there an easy way to do this
    or do i have to create 76 frames (can duplicate multiple to speed it up)
    then set layer visibility for each frame?
    thanks
    bill w
    astro.whwiii.net

    thanks for all the replies
    got it
    here's a rough draft of 2 hours of sunshine
    http://whwastro.homestead.com/files/big/31-05-2014-prom-animation.gif
    -bill w
    astro.whwiii.net

  • 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

Maybe you are looking for

  • How can I import files from Panasonic HDC-SD1 AVCHD?

    Can I use iMovie 06 or will I be required to use an Intel based (OSX10.4) w/ iMovie08? I can only import the pictures in iPhoto06 but not the movie files? Thank you for your time.

  • IPhoto 11 won't import photo from iPhone 5 on new MBP

    Brand new MacBookPro out of box experience -- picked up the laptop yesterday.  Everything seems to work until I get to iPhoto (as usual).  Plugged in my iPhone 5 and tried to import photos.  Error -- Unreadable Files: 1   IMG_0434.JPG.   Ok...  Not s

  • Print issue in smart forms

    hi,    when printing the PO (ex: 3 pages) , the requirement is to print (static) 'terms and condition' to the back side of each page.how to do...2) if it is a dynamic data how it is possible.

  • Latest Scam

    Just got an email thanking me for my payment of $1290.00 to Verizon via Visa credit card. Obviously a scam... is there any way to report this to Verizon without going through their horrendous phone labyrinth of options...trying to get somebody real w

  • My Ipod is disable how can I open it

    my ipod touch is disable how can I open it