How do I make a simple animation?

I am building an avation website and want clouds to move across the banner to give the feel that the site/airplane logo is moving in the sky. I already have the clouds that i made in Illustrator but now I need to make a simple GIF that has the cloud move from one side of the screen to the other and repeat. I dont even know how to do animation frames or any of that so I need lots of detail. Thanks!

I went the one of those links and saw that that the following would give me better understanding. Does everone here understand now. Its not in my knowledge base!
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
var CloudGenerator = new Class({
    // Implement the Events and Options utility classes
    Implements: [Events, Options],
    // Initialize our defualt values for the class options passed in
    options: {
        totalClouds:  4,        // Total number of clouds on screen at a given time (int)
        minDuration: 10000,     // Minimum travel time for a cloud across the screen (milliseconds)
        maxDuration: 120000,    // Maximum tracel time for a cloud across the screen (milliseconds)
        checkInterval: 10000,   // The interval used to check if new clouds are needed (milliseconds)
        autoStart: true,        // Automatically starts the cloud generator by default (bool)
        sky: $("sky"),          // Default sky target resides in an element named "sky" (element)
        cloudImg: "cloud.png",  // Define default cloud image (path/url)
        cloudDirection: 0,      // 0 = left to right, 1 = right to left (int)
        cloudWidth: 573,        // Cloud width (px)
        cloudHeight: 262,       // Cloud height (px)
        cloudScales: [1, 0.8, 0.6, 0.4, 0.2],   // Define an array containing the sizes the cloud will be scaled to (%)
        maxAltitude: 600,       // This defines the vertical space you allow clouds to appear within the sky (px)
        cloudTransition: Fx.Transitions.linear  //Define the transition algorithm for the cloud movement
    cloudCheck: null,           // Initialize the vairable to hold the setInterval declaration
    cloudsInSky: 0,             // Keep track of number of clouds in sky
    cloudSky: null,             // A reference to the cloudSky generated and injected into the sky element
    // Our constructor for the CloudGenerator class
    // It takes in the options passed to it and uses the implemented Options
    // utility class to modify any defualt options in our options object
    initialize: function(options){
        // Modify any defaults with the passed in options
        this.setOptions(options);
        // Create Cloud Sky
        this.cloudSky = new Element('div', {
            id: 'cloudSky',
            src: this.options.cloudImg,
            styles: {
                position: 'absolute',
                width: (sky.getDimensions().x + (2*this.options.cloudWidth)),
                left: -this.options.cloudWidth 
        // Place the cloud container within the sky
        // This lets us ensure that the clouds can smoothly enter and exit the
        // boundaries of the sky element
        sky.grab(this.cloudSky);
        // autostat the cloud generator by default
        if(this.options.autoStart){
            this.startGenerator();
    // Check if there are less than the max number of clouds in the sky
    // If there is room, deploy another cloud, if not, do nothing
    deploy: function(){
        var cloudScale = (Math.floor(Math.random()*this.options.cloudScales.length));
        cloudScale = this.options.cloudScales[cloudScale];
        var cloudDuration = Math.floor(Math.random() * (this.options.maxDuration + 1 - this.options.minDuration))
                            + this.options.minDuration;
        var cloudAltitude = Math.floor(Math.random() * (this.options.maxAltitude - (cloudScale * this.options.cloudHeight)));
        if(this.cloudsInSky < this.options.totalClouds && !this.cloudsFull){
            this.cloudsInSky++;
            new Cloud({
                width: Math.floor(this.options.cloudWidth * cloudScale),
                height: Math.floor(this.options.cloudHeight * cloudScale),
                altitude: cloudAltitude,
                duration: cloudDuration,
                direction: this.options.cloudDirection,
                cloudImg: this.options.cloudImg,
                cloudTransition: this.options.cloudTransition,
                onComplete: function(){
                    this.removeCloud();
                }.bind(this)
    // Decrement cloudsInSky variable
    removeCloud: function(){
        if(this.cloudsInSky > 0){
            this.cloudsInSky--;
            console.log("cloud removed");
    // Stop the cloudGenerator
    stopGenerator: function(){
        clearInterval(this.cloudCheck);
        return "generator stopped";
    // Start the cloudGenerator
    startGenerator: function(){
        this.deploy();
        this.cloudCheck = this.deploy.periodical(this.options.checkInterval, this);
var Cloud = new Class({
    // Implement the Events and Options utility classes
    Implements: [Events, Options],
    cloudId: "",    // hold a reference to this cloud's DOM id property
    options: {
        duration: 4000,         // Duration of the clouds movement across the sky (milliseconds)
        direction: 0,           // Direction of the clouds movement, 0 = left to right and vice versa (int)
        altitude: 200,          // Altitude of the cloud in the sky
        width: 573,             // Width of the cloud (px)
        height: 262,            // Height of the cloud (px)
        cloudImg: "cloud.png",  // Cloud image (path/url)
        sky: $("cloudSky"),     // CloudSky element that the cloud will be injected into (element)
        cloudTransition: Fx.Transitions.linear  //Define the transition algorithm for the cloud movement
    initialize: function(options){
        // modify any defaults with the passed in options
        this.setOptions(options);
        // create and animate the cloud element
        this.createCloud();
    createCloud: function(){
        this.cloudId = 'cloud-' + (new Date().getTime());
        // determine if cloud will be moving left to right or right to left
        // the position cloud offscreen to begin movement
        var cloudStyle = {
            position: 'absolute',
            top: this.options.altitude,
            width: this.options.width,
            height: this.options.height
        var skyPosition = 'upperRight'; // Move the cloud to the right, ignore the 'upper'
        var cloudEdge = 'upperLeft';    // Align the edge of the cloud to the edg edge of the sky
        // Determine the direction of the cloud and set styles and positions
        if(this.options.direction === 0){
            cloudStyle.left = (0 - this.options.width);
        else {
            cloudStyle.right = (0 - this.options.width);
            skyPosition = 'upperLeft';
            cloudEdge = 'upperRight';
        // Create the image element for the cloud
        var cloud = new Element('img', {
            id: this.cloudId,
            src: this.options.cloudImg,
            styles: cloudStyle
        // Add the cloud image element to the cloudSky div
        sky.grab(cloud);
        // Move the cloud across the sky
        new Fx.Move(cloud, {
            relativeTo: this.options.sky,
            position: skyPosition,
            edge: cloudEdge,
            offset: {x: 0, y: this.options.altitude},
            duration: this.options.duration,
            transition: this.options.cloudTransition,
            onComplete: function(){
                this.complete();
            }.bind(this)
        }).start();
    complete: function(){
        $(this.cloudId).destroy();  // Remove the cloud element from the DOM
        this.fireEvent('complete'); // fire the onComplete event, this is picked up
                                    // by the CloudGenerator class

Similar Messages

  • 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.

  • How do i make a simple title in fcpx?

    okay stupid question, how can I make a simple title without any preadjusted parameters/animation/etc..?

    Use the Custom title.

  • How can i make a simple app?

    Hi,  i just became an apple develiper,  Im wondering how to make a simple app like a "flashlight" like app,  Can anybody help me out?  would i have to start from scratch or could i use someone else's start??

    Use your logon to the iOS Dev Center and see this links:
    iOS Human Interface Guidelines
    iOS Starting Point
    Start Developing iOS Apps Today
    App Development Overview
    App Store Review Guidelines for iOS Apps
    Your First iOS App

  • How do I make a simple time-spend, cost tracking sheet? (New to numbers)

    I could not find how to make a simple time-spend = cost tracking sheet for one customer at a time. It is hard for me to keep track of the time I use for arranging music in Logic and Sibelius. I was thinking like A=date, B=what was done, C=start working, D=end working, E=D-C time spend, F=charge for time spend. Sometimes I do work twice or more on a day? (set up E to calkulate total time and F the cost) I do not want to use special software or online service. Thank you for all your help.
    W.W.

    Walter Wedler wrote:
    I could not find how to make a simple time-spend = cost tracking sheet for one customer at a time. It is hard for me to keep track of the time I use for arranging music in Logic and Sibelius. I was thinking like A=date, B=what was done, C=start working, D=end working, E=D-C time spend, F=charge for time spend. Sometimes I do work twice or more on a day? (set up E to calkulate total time and F the cost) I do not want to use special software or online service. Thank you for all your help.
    W.W.
    Hi Walter,
    This topic as come up a couple of times in the past month or so, so a search of the forum should give you at least part of the answer.
    Aside from the formula in column F, you already have the solution.
    in F, the basic formula is =duration x rate
    In the spreadsheet, that is entered as =DUR2HOURS(E)*48
    if the rate is $48/hour
    The IFERROR function is used to avoid error triangles in the rows where column F does not contain a duration.
    Row 5 is a Footer row. The formulas in this row are simple SUM() statements; -=SUM(F) and =SUM(G)
    Column F shows an error because of the 0 (a number, not a duration) in Row 4.
    Regards,
    Barry

  • How can I make a simple 1 channel I/O with RS232?

    Hy all,
    I just want make a simple 1/0 output over RS232. How can I programme it in LabView? Noemaly we send datas over RS232, but I want just a High or a Low on the TxD (or may on DSR or CTS).
    Thanks
    Petric

    You are lucky, here is a 6.0 version ... I hope it works
    CC
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    DTR control 2.vi ‏10 KB

  • How can I make a simple slideshow on iDVD?

    As opposed to the majority of Apple apps that are "user-friendly" I find using iDVD a very awkward, un-friendly application. It offers "drop zones" without me understanding what I should "drop" into them.
    I just want to make a simple DVD of a slideshow with some background music ... nothing fancy. I don't need any theme and I don't need to add any movies.

    To simply create a slide show in iDVD 7 onwards from images in iPhoto or stored in other places on your hard disk or a connected server, look here:
    http://support.apple.com/kb/HT1089
    If you want something a bit more sophisticated:
    There are many ways to produce slide shows using iPhoto, iMovie or iDVD and some limit the number of photos you can use (iDVD has a 99 chapter (slide) limitation).
    If what you want is what I want, namely to be able to use high resolution photos (even 300 dpi tiff files), to pan and zoom individual photos, use a variety of transitions, to add and edit music or commentary, place text exactly where you want it, and to end up with a DVD that looks good on both your Mac and a TV - in other words end up with and end result that does not look like an old fashioned slide show from a projector - you may be interested in how I do it. You don't have to do it my way, but the following may be food for thought!
    Firstly you need proper software to assemble the photos, decide on the duration of each, the transitions you want to use, and how to pan and zoom individual photos where required, and add proper titles. For this I use Photo to Movie. You can read about what it can do on their website:
    http://www.lqgraphics.com/software/phototomovie.php
    (Other users here use the alternative FotoMagico:  http://www.boinx.com/fotomagico/homevspro/ which you may prefer - I have no experience with it.)
    Neither of these are freeware, but are worth the investment if you are going to do a lot of slide shows. Read about them in detail, then decide which one you feel is best suited to your needs.
    Once you have timed and arranged and manipulated the photos to your liking in Photo to Movie, it exports the file to iMovie  as a DV stream. You can add music in Photo to Movie, but I prefer doing this in iMovie where it is easier to edit. You can now further edit the slide show in iMovie just as you would a movie, including adding other video clips, then send it to iDVD 7, or Toast,  for burning.
    You will be pleasantly surprised at how professional the results can be!

  • How can I make a transparent animated gif?

    I'm using CS2. I have an animated gif that I want to take the black background out of so that the animated part of it is all that remains.
    Here is a link to the image:
    http://img.photobucket.com/albums/v97/tragicmike/random/Tesseract.gif
    I basically want to remove all of the black background from the image so that the animated tesseract is all that remains. I know how to open the gif to expose the layers using ImaegeReady, then edit them in PhotoShop. But when I made the black areas of each layer transparent (by selecting the RGB channel, inverting the selection, and hitting delete), saved a copy, and tried viewing it, it seems to just display all of the transparent layers constantly instead of cycling through them.
    Can someone please help me figure out how to make an animated gif with a transparent background? If I lose some of the black areas of the animated part (since they seem to get deleted when I remove all of the black background) it's no big deal. I just need to know how to do this so that it plays correctly.
    Thank you!!!
    Mike

    &gt;
    <b>"I have to wonder why the black background was included on every frame of the moving shape."</b>
    <br />
    <br />Well, George...the only reason I can think of is because it's an animated GIF, and GIFs only support one layer.
    <br />
    <br />Whatever application it was created in should have been able to render it out with a transparent BG. But I suppose the creator had his/her reasons for going with the black BG.
    <br />
    <br />(Full disclosure: I ran across
    <s>that same</s> a similar animation back in December, and the version I grabbed only had the black showing through the inside of the tesseract. I opened it in ImageReady and
    <b>
    <i>added</i>
    </b> a black BG so the edges didn't look jaggedy.)
    <br />
    <br />
    <a href="http://www.pixentral.com/show.php?picture=1FgHXbj4UpXYtUVrbeah7sbqQXDR40" /></a>
    <img alt="Picture hosted by Pixentral" src="http://www.pixentral.com/hosted/1FgHXbj4UpXYtUVrbeah7sbqQXDR40_thumb.gif" border="0" />

  • How do I make a simple swf made up of a series of pictures the user advances by clicking?

    I'm shwoing a step by step process on how I did a photoshop piece, and I want to have a simple flash swf that goes through each of the screenshots at the viewer's pace, by them clicking. I wasn't even thinking so complicated as to include forward/back buttons, even just somethign so simple as having the entire image clickable to move 'forward' and when it gets to the end it just loops or something. super simple, i would do an animaged gif but i want it to be at the user's own pace. but if you think of how an animated gif cycles that's how simple i want it to be. also a few of fading/dissolivng between the images would be cool.
    Could anyone who knows flash give me some pointers?

    If you want simple, just place the images sequentially, one each per frame, along the timeline.  Then add an actions layer and place a stop(); command in the first frame of that layer.  Then add a button to the stage and code it to use nextFrame();  How you code it depends on which version of actionscript you are planning to use, but nextFrame works for either.  What nextFrame does is advances you to the next frame and stops, so you only need the one stop() on the timeline to have the movie stopped when it loads.
    The more features you want to add, the more complicated it gets, so for the moment I'll leave you with the most simplified approach above.
    If you want to have transitions between images, then you need to deal with adding timeline tweens that fade them in/out as desired.  Although, what you could do instead is have a movieclip on a layer above the images that fades in and out on command. The contents of it would simply be a rectangle graphic symbol that is the same color as the stage, but has its alpha value at 0 in the first frame (with a stop()), and then fades in and out again.  So the button controls the playing of that movieclip, and when that movieclip reaches the point where the rectangle is in full view, that movieclip commands the main timeline to advance to the nextFrame()

  • How Can I Make a Flash Animation for TV?

    I'm learning flash animation and am wondering once I save the flash file to a dvd format, how does the end-user navigate when they put the dvd into their TV? Do I need to design and incorporate a menu for the end-user? If so, how does the TV remote control navigate through this menu that was created on a Mac computer? Thank you for your help, I really appreciate it.

    I don't know a lot about this subject but thought I'd give it a shot to answer.  You can use Adobe Encore to create menu systems for your DVD title screen.  As far as Flash is concerned I think you can import your animations into Encore's menu system though I'm not exactly sure how.  If you want to just make an animation that will be played back without interactivity you would just export your Flash animation as a Quicktime MOV file and import it into After Effects for further editing and finishing.  Once you render your mp4 (h.264) from AE you can bring this into Encore to author for your DVD.

  • How can I make a simple Pendulum movement

    Hi,
    I am quite new to motion and at the moment I am thinking that I am tiring to run before I can walk this idea of mine.
    I am trying to make a repeating pendulum movement, like the movement of the Newtons cradle with the 4 balls, the energy of the swinging outer left ball is transferred to the outer right ball on contact etc. Each ball will show a short looping video footage.
    Is there a simple way of creating an arced motion path (upwards and outwards) for the first ball and then reversing it along the same motion path, but then copying this path to the opposite side, mirroring the complete movement?
    I have tried converting to a simple motion path to keyframes but I get into a bit of a mess.
    Any ideas?
    Thanks in advance.
    PowerMac 2x2.5GHz   Mac OS X (10.3.8)  

    I actually just did an animation based on that desk decor thing... it was easy once i figured out what to do...
    Now, i tought myself motion, so my way may not be the "best" or quickest but it worked. First...import the object/make the object or whatever. second, go to behaviors and take basic motion path. After that, take the bezier curve adjustment and arc the line. That will get you the object going up in a swing or down...depending on where you put the start point on the curve. After that, copy the actual motion curve, but put the new end point to where the old start point was...basically invert the motion (if there is a simpler way to do this please tell me). that will get the object to go up/down then down/up.
    So that gets the basic motion of a half swing.
    If your object hits another object (like in the desk thing) make sure your snap lines are on because youll need them to line up the motion. Do the same thing to the second object as you did to the first, but going the oposite way. The snap lines will help guide you to make sure the second object goes as high as the first. To make it look correct i pretty much eyeballed the connection of one object to the next going frame by frame. I also added the "ease at end" motion to the rising motion path to add a realistic touch.
    If this is confusing i'm sorry...

  • How do I make a simple hatch pattern (for fill) of my own customization?

    Hello all,
    I must be over looking something here.  I am trying to make a hatch pattern in Illustrator CS6 with the pattern tool so I can apply a clean, single lined hatch to various shapes (some small some big - but the hatch needs to remain at the same seamless scale).  I understand that there is a Basic Graphics_Lines Pattern under the Swatches Palette, but I don't understand how to edit it with the Pattern Options dialogue box.
    I must be missing something, becuase I wouldn't think making a single line at 45° repeat at the same spacing for a shape fill would be that difficult.  I shouldn't have to make a line with the pan tool at a stroke of 1000 with a 0.1-3 dash and make a clipping mask should I?
    Basically I don't know how to make a pattern's lines match up when I do the 5x5 or 3x3.  I tried doing 1x1 and the result is that of the image with the red stroke...still not aligning.  Do I need to get mathematical with the size of the line i'm drawing and its stroke to allow H and V Spacing to work?
    I'm completely lost and would really appreciate if someone could help me understand this....It just seems so arbitrary. and all the examples/tutorials i've seen of this tool are of floral patterns where arbitrary is okay.
    Thanks,

    Create the pattern at either horizontal or vertical angle.
    Rotate after applying to the object.

  • 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

  • How do I make a simple voice recording that can be attached to an email?

    I want to record a short message, mp3 or any format is fine, and attach it to an email. I've tried opening Garage Band to do it, and downloaded Audacity, but I have no idea how to use either one. I have a microphone that plugs into the audio port, and know how to switch to "use audio port for sound input" in preferences. But I want a simple command that says "start recording" instead of the complicated control panels I see in the two programs I've looked at.

    dianefromeliot wrote:
    Thanks for the software suggestion - http://mac.softpedia.com/get/Audio/Audio-Recorder.shtml - it looks good. Why do you use it instead of Garage Band?
    Had it before GB existed; I use other audio software for other tasks, but this one is probably the most easy to use app (of any kind) I've ever used. Click, speak, click, click. Done, with file sitting on my desktop.

  • How do I make a simple pulldown bookmark menu like I used to have.

    Firefox used to have a simple pulldown menu for bookmarks. I can't seem to find it or make it work now.

    Do you mean on the classic menu bar? (File, Edit, View...) To display the menu bar, you can use any of these methods:
    * right-click a blank area of the tab bar > Menu Bar
    * right-click the "+" button on the tab bar > Menu Bar
    * tap the Alt key to activate the classic menu bar, then View > Toolbars > Menu Bar
    * click the "3-bar" menu button and use Customize to access the Show/Hide Toolbars list
    If you meant on the toolbar, the icon changed in Firefox 29. You should find a star, and next to it, something that looks like a clipboard. It's that button on the right which drops down your Bookmarks menu list from the toolbar.
    Any luck?

Maybe you are looking for

  • IMac 27'' keeps powering down for no reason

    After about 2 hrs of editing sometimes my iMac 27'' keeps powering down for no reason and then rebooting.

  • How can I enable a constraint even ORA-00054

    Dear, ALTER TABLE CLC_TRM_DTS_ATRBT MODIFY CONSTRAINT CLC_TRM_DTS_ATRBT_02_FK ENABLE; ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired. Any way to enable the constraint even any uncommited session or locked? Regards

  • Clearing out to gain storage for new photos

    I've recently purchased PSE 8 with the 2 GB online storage.  Have deleted almost 300 MB and each time I finish deleting pictures, the available space is less.  How do I clean out the storage space.

  • Business Continuity Process

    Hi All, I am in the process of defining Business Continuity Process, Organizations now span globally and have customers to support 24 X 7 X 365. With this level of automation, any breakdown in organizational information flow can cause a disruption in

  • FileDialog - Multiselect

    Hello, Is it possible to select multiply files within a FileDialog, generated by Java? In other languages you only have to set the property "multiselect" to "true". Thanks,