Parkland College > CSIT Dept > Web Technology > CSC 121 >
Calendar > Lesson 8


CSC 121 WEB SITE DESIGN
Lesson 8: Introduction to Flash
Instructor: Paul Young

 

 

 

Objectives

 

 

To become comfortable in the Flash environment by creating a simple animation similar to the sample on this page.

 

 

 

Discussion

 

 

Flash began as a vector drawing program similar to Adobe Illustrator and Freehand. Vector art (also known as "outline-fill") is computer graphics defined by lines instead of pixels. Since lines can be described as mathematical formulas, vector art can be very small in file size.

Today, Flash is a complete multimedia development environment with its own "action script" programming language. Macromedia claims 500,000 developers and over 325 million Web users of the Flash Player, making the Flash plug-in the most widely distributed piece of software on the Internet.

Creating Flash animation involves the process of "tweening" (short for "in between" frames). This process allows the animator to design two (or more) "key" frames and then lets Flash draw all the "in between" frames. This very powerful and efficient way of animating allows one to create complex motion with very little effort.

Benefits of using Flash to create animation include:

  • relatively small file sizes (vector vs. pixels)
  • scalable art (Flash files can be blown up to any size without loss of resolution)
  • ability to embed fonts (can use any font on a Flash web page)
  • complex interactivity (can create entire web sites in Flash)
  • multimedia support (can embed video and sound)
  • can export to Quicktime (can be used for television, movies)

 

 

 

Procedure

 

 

Overview: Import art into Flash to trace over. Create symbols to tween. Adjust timing. Export as SWF and import into home page using Dreamweaver. Test, publish to server.

Creating the art for animation

  1. duplicate "upload/lesson7" folder, rename "lesson8"
  2. launch Flash, file > save as "lesson8.fla" (inside "prep")
  3. practice navigation shortcuts (space; space+cmd; space+cmd+option; cmd+1, cmd+2, cmd+3)
  4. rename "layer 1" as "bg"
  5. file > import "upload/lesson8/name.gif" (note dimensions)
  6. modify > document: match dimensions of imported file (fps=12)
  7. position imported file to upper left corner (x=0, y=0)
  8. add new layer, lock others
  9. recreate type: choose font, size, color, etc (type tool)
  10. open "lesson5.psd", save as "lesson8.psd" (inside "prep")
  11. delete unneeded layers
  12. file > save for web "name-bg.gif" (selected slice only, in "upload/lesson8")
  13. return to Flash
  14. file > import into library "name-bg.gif"
  15. swap "name.gif" with "name-bg.gif"

Animating the type

  1. select type: modify > break apart
  2. make each letter into a graphic symbol (F8)
  3. select all symbols
  4. modify > timelines > distribute to layers
  5. in "bg" layer: insert > frame on frame 40 (F5)
  6. in all other layers: insert > keyframe on frame 5 (F6)
  7. frame 1: insert > create motion tween, ease out +100
  8. frame 1: move type down, alpha=0
  9. window > toolbars > controller: play animation (ENTER)
  10. start animated sequence at frame 10
  11. move each animated sequence to start a different frame
  12. test animation (ctrl+ENTER)
  13. file > publish settings: format=SWF, flash version=4, click PUBLISH
  14. save

Importing Flash into Dreamweaver

  1. launch Dreamweaver
  2. define a new site (site > manage sites > new site): name=lesson8,
    local root folder=jsmith/csc121/upload/lesson8
  3. open "index.htm"
  4. delete art associated with "name.gif"
  5. insert > media > Flash (loop=no)
  6. file > preview in browser (F12)
  7. troubleshoot, publish (see instructions from lesson 4)

 

 

BACK TO TOP

______________________________

Last updated: 9/1/05 • Webmaster: Paul Young

 

 

Student
Exhibition

Influential
Designers

Internet
Resources

Tips, Tricks
& Handouts