Skip to Page Content | Navigation for Module


Navigation for Module 5: Flash
Page 7 of 11

  1. * Animation

Animation in Flash

Estimated Time to Complete:

20 minutes

Objectives:

In this lab, you will learn how to:

Prerequisites:

A basic working knowledge of Flash.

Version Information:

Flash MX Professional 2004 and Flash MX only.


Files:

Introduction

In this lab, you will learn how to make your animations more accessible. Typically, animations convey little information; but sometimes, in the case of short intros or logos, an animation may relate to the content. It is up to you to determine whether or not an element conveys meaningful information.

Getting Started

To begin, you will need to create an animation that starts small and gets larger over 15 frames. Also, it is recommended to create two separate layers:

To import the file:

  1. Select the File menu, then Import.
  2. Browse to the hammer.jpg file.
  3. Select 'Open'.

To setup up layers:

  1. Rename the current layer to 'Animation' by double-clicking on 'Layer 1.'
  2. Insert a new layer by going to the Insert menu, then selecting Layer.
  3. Rename this new layer 'Text.'
  4. With the text layer still selected, add the text 'The Happy Hammer Company.' (See Image 12).


To setup the keyframes:

  1. Select the animation layer.
  2. Right-click on the hammer image, and select 'Convert to Symbol.'
  3. Make this a Movie Image, and name it 'Hammer_Image.'
  4. Now, insert a keyframe in the text layer at frame 15 by right-clicking on frame 15 in the text layer, and selecting 'Insert Keyframe.'
  5. Repeat step 4 for the Animation layer. Your timeline should look similar to Image 13.

To setup the animation:

  1. Select frame 1 in the Animation layer.
  2. Make sure the hammer image is selected.
  3. Choose the free transform tool from the toolbar.
  4. Hold down the Shift key, then drag the lower right-hand corner towards the middle of the image; this makes the image smaller than it was.
  5. Select frame 7 of the animation layer, then right-click to bring up the menu and select 'Create Motion Tween.'
  6. Select various frames of the animation layer, and you should see that an animation of a hammer getting bigger over time has been created.

Making the Animation Accessible

To make this animation accessible:

To convert the animation to a symbol:

  1. Select the entire Animation layer. All the frames should turn black.
  2. Right-click on any of the frames to bring up the sub-menu. Select 'Cut Frames.'
  3. From the 'Insert' menu, select 'Insert New Symbol.'
  4. Name the clip 'Hammer Animation' and make sure it is a movie clip. Then press the 'OK' button.
  5. You will now be in symbol editing mode. Select frame 1 of Layer 1 to select it, then right-click to bring up the sub-menu. Select 'Paste Frames.' You should now see all the frames of your original animation, as well as the renaming of the layer.

You are now ready to make the animation, but it is extremely important to remember to keep the animation from looping. A looping animation causes the screen reader to start at the beginning each time the animation loops.

To stop the loop:

  1. Select frame 15, then right-click to bring up the sub-menu, and select 'Actions.' The Actions Panel should now pop up on the screen.
  2. In the Actions Panel, go to 'Actions' then 'Movie Control.'
  3. Double-click the 'stop' action; this will add a small 'a' in frame 15. Your project should look like Image 14.


  4. Exit symbol edit mode by selecting 'Scene 1,' which is located right above the stage.

To add the animation back to the stage:

  1. Go to the Library by pressing F11.
  2. You should now see a symbol in the Library named 'Hammer Animation.'
  3. Make sure the Animation layer is selected, then drag-and-drop the animation to its original position.

To Add the Text Equivalent:

  1. With the hammer animation selected, you can now access the control panel for this item in the Properties Panel. Look on the right side for a little icon of a man.
  2. In the name field, type 'Hammer Animation.' and in the description field type 'This animation depicts a hammer getting larger over time, which is our company logo.'
    Note: Do not forget the periods at the end of the sentences. No periods cause the screen reader to run sentences together.
  3. Normally, you will want to cover up any child objects from the screen reader, so deselect the 'Make Child Objects Accessible' checkbox. Your animation now has a text equivalent (see Image 15. ).


The next lab will discuss closed captioning.

Top of Page arrow up
       Page 7


 
-- END OF PAGE