Flash Project 1:
Creating Animations

Before beginning the tasks in this project, create a new folder in your home directory, naming it Lastname Project 1.


Task 1 - Using Ease in a Motion Tween

  1. motionEase.fla Right-click the link at the right and choose Save Target as.... Save into your Project 1 folder with your lastname in front of the filename. Then open the file in Flash.

  2. Move a car to the stop sign:
    1. Create a new layer at the top of the stack, naming it Car.
    2. Add frames to all three layers in frame 45. Lock the bottom two layers.
    3. Open the library and drag the redcar symbol to the Stage. Place it just outside the lower right, at the beginning of the road, but not yet showing on the main Stage. Use the Free Transform tool to angle the symbol instance in the correct direction on the road.
    4. Click in frame 21 and add a blank keyframe.
    5. Add a Motion Tween to the first range of cells. In frame 20, move the car to the stop line, rotating as needed to place it correctly on the road.
    6. Select the motion tween and adjust the curve to make the car move smoothly along the road.

  3. Move the car away from the stop sign:
    1. Select the car in frame 20, copy, and paste in place in frame 21. Adjust the rotation if necessary.
    2. Add a Motion Tween. Then in frame 40, move the car to the upper left end of the road, just off stage
    3. Adjust the curve of the motion tween to complete the car's movement along the road.

  4. Test your movie - well, that can;t be right, the car does not stop...

  5. Add Ease to control the car's movement:
    1. On the timeline select the first motion tween. Open the Properties panel if necessary, and click the arrow beside Ease to open that section of the panel.
    2. Place the pointer over the zero ease value, and drag to the right to the maximum value - 100; "out" will appear to the right side of the value.
      Ease out means to slow the motion the beginning of the tween to the end.
    3. Now select the second motion tween. Drag the ease value to the left as far as it will go. The result will be 'Ease: 100 in'.
      Ease in means to slow the motion at the beginning of the tween and speed up at the end.

  6. Test your movie again.
    Now the car should slow down and stop at the Stop sign then begin to speed up to drive away.

  7. Make any adjustments you feel are needed, and when you are satisfied, save, publish and close.


Task 2 - Create a Moving Frame-by-Frame Animation movingAnimation.swf

  1. Click this link to view the simple animation you will make:

  2. Start a new Flash file (2.0 or 3.0, it does not matter). Save the file in your Project 1 folder as lastname movingAnimation.fla.

  3. Select the Text tool. Choose a font and a largish font size. Increase the character spacing.

  4. Type a text object Animation, and break it apart. Change the colors of the letters as you wish.
    Starting arrangement
  5. Move the text to just off the right side of the Stage, and arrange them letters into a snaking arrangment, similar to the illustration at the right.

  6. Add a keyframe in frame 2.

  7. Text arrangement for frame 2Move the letters to the left 20-30 pixels and move some letters up and others down 8-12 pixels, to look like they are beginning to 'snake' along.
    For example, I moved the entire word 20 pixes to the left, the first four letters up 8 pixels and the last five letters down 8 pixels, as shown at the right.

    Hint:
    Move letters left, up and down in as large a block as is feasible each time - this speeds up the process.

    letter arrangement for frame 3
  8. Add another key frame in frame 3, and move the letters to the left the same amount as before, then rearrange again, moving letters up or down the same number of pixels as before.

    Onion Skin turned onOnion Skin button
  9. On the bottom of the timeline, locate and click the Onion Skin button.
    You will see a set of brackets appear at the top of the timeline. The current frame appears in normal colors and brightness, and the neighboring frames inside the brackets show as ghost images.
    You can drag the brackets to change the number of frames included, before and/or after the current frame.

  10. Continue to add key frames and snake the letters across the screen. Each time you add a keyframe, the Onion Skin brackets move to focus on the new frame.
    My example animation, using a 20 pixel move to the left each time, needed 37 frames.

  11. Save your work and test the movie (Ctrl + Enter).

  12. Make any adjustments you feel are needed. You may want to adjust the frame rate if the animation seems too fast or too slow.

  13. Save and Publish your movie when you are satisfied with the results.


Task 3 - Create a Shining Sun Growing a Flower

Often, you want to have an object change from one simple shape to another. In this case, a shape tween is used. Note that you can only create shape tweens with objects, not with symbols.

  1. sunGrow.swfClick the link at the right to see an example of this animation.
  2. Create a new Flash document. Save in your Practice 4 folder as lastname sunGrow.fla.
  3. Draw the animation objects:
    1. Name the existing layer Sun.
    2. Select the Oval tool. Change the fill color to a sunny yellow and stroke to none.
    3. Place your mouse pointer over the upper right corner of the Stage, hold Alt and Shift, and then drag to create a circle about 180 pixels in size.
      Alt causes the shape to draw from the center, and Shift constrains the shape to the same width and height.
      sun ray shapes
    4. Create a new layer. Draw a rectangle, using any color and no stroke, approximating its size to the top shape in the illustration at the right. Then use the Subselect tool and/or the Free Transform tool to change it to the shape as shown. Place it along the top edge of the Stage.
    5. Copy and paste the shape, dragging it away from the original so they do not merge. Flip it vertically and rotate it 90 degrees, then place it as shown to become the shape along the right edge of the Stage.
    6. Create one more rectangle and transform it to become the center ray, placing it as in the illustration.
      Sun rays with gradient
    7. Open the Color panel if necessary, and create a linear gradient shading from white to the bright yellow of the sun. Apply the gradient to each ray, then use the Gradient Transform tool to adjust the gradients to look similar to the illustration at the right.

    8. Select the three rays and distribute them to layers. Name the three new layers Ray1, Ray2, and Ray3.
    9. Right-click the now-empty layer and choose Properties. Change it to a folder by clicking the button in the dialog box. Rename the folder Rays.
    10. Drag the three Ray layers to be in the Rays folder, then click to close the folder.

      Stems illustration
    11. Above the sun layer, create three new layers. Name them Stem1, Stem2 and Stem3. On each of the three layers, use the brush tool to draw one of the three stems.
      An example of what you might draw is illustrated at the right.
    12. Create a new layer folder above the first stem layer, naming it Stems. Drag each of the stems to be in the folder, then click to close the folder.




      flower illustration
    13. Above the Stems folder, create a new layer and name it Flower.
    14. Draw a small flower of some kind and make a radial gradient for its fill.
      In the illustration, used the Polystar tool to make a five-pointed star, then used the selection tool to pull the sides of the points into curves to make the petals.



  4. Animate the objects:
    1. Open the Stem and Ray folders. Select frame 10 in all layers, and add a blank keyframe.
    2. Copy the artwork from frame 1 of each layer to frame 10 of its same layer.
    3. Close the Stems folder. Hide the Stems folder and the Flower layer.
    4. Add a keyframe in frame 25 of the Sun layer.
    5. Select the sun object and use the Free Transform tool, again holding Alt and Shift, to increase the size of the sun in frame 25.
    6. Sun and Rays after Motion tweenAdd a Shape Tween to the space between the the two keyframes.
    7. Hide the Sun layer.
    8. In the three Ray layers, add a keyframe in frame 45.
    9. In each layer, select the shape in frame 45 with the Free Transform tool, and drag a corner handle to increase the size of the shape until its edges extend completely off the Stage. Add a motion tween for each.
    10. Turn the sun layer back on and test the movie.
      The finished shapes should look similar to the illustration at the right.

      Stems after Motion Tween growth
    11. Close the Rays folder and then hide the Rays folder and Sun layer. Open the Stem folder and select frame 10 in all three stem layers. Drag the frames to frame 25.
    12. In all three layers, add a keyframe in frame 55.
    13. Add some length and shape change to each stem shape, to indicate growth.
    14. Add a shape tween to each.
      The finished shapes should look similar to the illustration at the right.
    15. Test the movie to see if the stems grow smoothly. Make any adjustment needed.




    16. Close the Stems folder. Unhide the Flower layer.
    17. Flower after Motion tweenSelect the frame containing the flower artwork, and drag the frame to frame 35 on the same layer.
    18. Create a keyframe in frame 55.
    19. In frame 55, increase the size of the flower from the center, then reshape it to make it look like a more mature flower.
    20. Add a motion tween.
      Your flower may look similar to the illustration at the right.
    21. Test your movie to see if the flower grows smoothly. Make any adjustment needed.

  5. Unhide all layers and folders. Test the movie.
    The sun begins to grow, then the rays appear. As the rays grow, the stems begin to grow, then the flower grows. It ends abruptly, however.

  6. Select frame 80 in all layers. Add frames to extend the movie. Test again to see the difference.

  7. When you are satisfied with your work, save your animation file and publish the movie. Close the file.


Task 4 - Working with a Text Morph and Shape Hints

Sometimes, the shapes you want to tween to and from are more complex. The tween may not move smoothly or attractively. In this case, you can use a technique called Shape Hints to encourage the tween to proceed as you wish.

    1. shsMorph.swfClick the link at the right to see an example of this animation.

    2. Create a new Flash 3.0 document. Select a thelightest gray as the Background Color for the stage, then save in your Project 1 folder as lastname shsMorph.fla.

    3. Create the Text:
      1. Click the Text tool. Select a bold, solid sans-serif font for the text, a red color, and a font size of 250-300.
      2. Type GO SHS on the Stage, in all caps.

    4. Convert the Text Object to Shapes and place on Different Layers:
      1. Use the selection tool to select the text object, right-click and choose Break Apart twice.
        The letters are now mesh shapes that can be used in a shape tween.
      2. With all the mesh letters selected, right-click and choose Distribute to Layers, and delete the empty layer.
        The 'G' should now be in the top layer.

    5. Prepare for Tweening
      1. Hide all but one letter. Select the visible letter and use the Align panel to center the letter horizontally and vertically on the Stage.
      2. Repeat with the remaining letters.

    6. Create the Shape Tweens:
      1. On the layer with the G, insert a keyframe in 15.
      2. Insert a blank keyframe in frame 30.
      3. Select the O and cut it from its layer. Paste it in place in frame 30 of the first layer.
      4. Insert a keyframe in frame 36.
      5. Insert a blank keyframe in frame 50.
      6. Select the first S and cut it from its layer. Paste it in place in frame 50 of the first layer.
      7. Insert a keyframe in frame 56.
      8. Continue in the same manner, placing the H and the second S with the same pattern of frames with tweens between different letters and blank frames between identical letters.
      9. Change the O in frames 30 and 36 to black. Repeat for the second S in frames 90 and 96.
      10. Change the first S, in frames 50 and 56 to a darker silver than the background.
      11. Add a blank keyframe in frame 110 and copy the G to that frame.
      12. Add blank frames to frame 115.
      13. Delete the empty layers.
      14. Test the movie
        You should see the letters just change from one to the other - you need to add shape tweens.

    7. Add Shape tweens
      1. In each long interval, beginning with frame 15, add a shape tween.
      2. Test the movie.
        Hmmm.... the tweens look pretty rough...

    8. Add Shape Hints to improve shape tweening.
      1. You should not add more than 2-4 hints.
      2. If the hint placement makes the letters disappear, you will have to adjust their placements.
      3. Drag the playhead back and forth as you work, to check the tween with the Shape Hints in place.
      4. Make the letter morphs as smooth as you can.

      5. Test the movie - all the shapes should move smoothly from one to the next, looping to repeat.

    9. Make any adjustments you feel are needed, then save your work, publish to export the swf file, then close.


Task 5 - Working with a Movie Clip

  1. Start a new Flash movie and save it in your Project 1 folder as lastname myFlyer.fla.example flyers

  2. Create a Graphic Symbol:
    1. Create a new graphic symbol and name it flyer.
    2. In the blank symbol editing screen, create a simple graphic of a flying bug, butterfly, dragonfly, simple bird or some other creature that can fly.
      Possible examples are illustrated at the right.
    3. Be sure to use layers to create the different parts of your flyer, especially placing any 'movable parts', like the wings, tail, etc, on a separate layer or layers.

  3. Create a Movie Clip Symbol:
    1. Create a new movie clip symbol and name it flyer_mc.
    2. Drag your flyer onto the movie clip timeline.
    3. Create an appropriate animation to make your flyer move its wings and any other parts, as it would while flying. (ask about easy ways to do this...)

  4. Create a background environment:
    1. Return to the main timeline.
    2. Based on the type of flyer you have created, plan background layer of some kind.
    3. You may find and choose a bitmap background, or you could draw a simple 'cartoon' background.
    4. Be sure you include something in the background that your flyer could 'interact' with, like a place to land, for example.

  5. Use the Movie Clip on the main timeline:
    1. Drag an instance of your Movie clip onto the stage.
    2. Create a motion tween to make the flyer move onto the stage in one location, and exit the stage in another location.
    3. Edit the path so that it flies a double-curved path between its entrance and exit.
    4. Orient the flyer to its path.

  6. Add More instances:
    1. Add at least two more instances of your movie clip, each on its own layer.
    2. Make a change of properties to each, so they are different in some way from the original.
    3. For one of the new instances, create a classic tween with a Motion Guide to control its path - making the path cross itself at least once.
    4. For the third or subsequent instances, make them fly on the screen in any way you wish.
    5. Be sure to orient your flyers to their paths.

  7. Finish the animation:
    1. Name your layers appropriately to describe their purpose.
    2. Preview your movie to make sure that it works as you wish.
    3. When you are satisfied, save and publish.


Zip your Project 1 folder (In My Computer, right-click folder and choose Send to... Compressed file). Copy your zipped folder to your Turn-in folder in the common drive.