Académique Documents
Professionnel Documents
Culture Documents
CS 318
Topics
Introduction to Flash and animation The Flash development environment Creating Flash animations
Layers
Timelines
Creating
What is Flash?
animated GIFs for simple animation, Flash for more complex sequences
Chemistry simulation
http://www.cbe.wsu.edu/~jsv/
http://www.greenolive.co.uk/home.html
Explain a series of events or a process that follows a specific timeline Draw attention to a detail in a picture by making it move
http://irv.cs.uwec.edu:8080/CS318/JMorrison/KAATKL/MajorProject/index.html
Don't:
Use animation just for the sake of doing it Force a user sit through a set sequence (always provide an exit or way to turn it off) Overdue animation so it takes away from your site's goals
What do you think of splash screens that users must click before entering a site?
Example:
http://www.kendrarenzoni.com/
Vector-based graphics
Has
Bitmap-based graphics
Can
Embedded fonts
Sound
Can
Flash Environments
environment (graphics tools) Scripting environment (create program code) You can download a free trial version at http://www.adobe.com/
Flash player
Users
must have this installed on their workstations If not present, automatically prompted to install when they start your animation
Authoring file
.fla
Published file
.swf
extension ("swiff" file) Can't be edited Can play on most operating systems Fairly small files
Topics
Introduction to Flash and animation The Flash development environment Creating Flash animations
Layers
Timelines
Creating
"Stage"
Properties panel
Important Components
sure to set the stage dimensions before you do any development This determines the animation's size on your Web page
Layers
Allow you to separate and stack objects All layers cover entire the stage surface Like transparent pieces of paper stacked on each other Animation objects move within a layer
Important Components
Timelines
Every layer has a separate timeline Timeline is broken into frames that correspond
to
different times in the animation When you select a frame, the stage shows what will appear in that layer at that time The playhead shows the current frame that is playing
Topics
Introduction to Flash and animation The Flash development environment Creating Flash animations
Layers
Timelines
Creating
Height
color
Design layers
Items
that stay static throughout the movie go in a Background layer Items that have independent movements each go in their own layer Sounds go in a separate layer
Layer analysis:
Moon
Active layer
Insert layer
Delete layer
To
it...
to Fireworks
Timelines
Frame: location and length of time that a symbol or graphic in a layer appears
Default: 12 ms/frame An item won't appear in a movie at a particular time unless its layer has a frame at that time
Playhead
Keyframe
Frame that defines an object at a given point in time Used to define animation starting and ending points
Empty circle keyframe with no content Filled circle keyframe with content
Timelines
Playhead Keyframe
Frames
A __________ specifies the appearance and movements of one part of a Flash movie.
a.
b. c. d. e.
Types of animation:
Shape: uses shapes you create in Flash Can change shape position and/or properties Creates straight-line animation between a start position and an end position Can only be used with vector images
Motion:
Can create straight-line animation between a start position and an end position Can change the position or rotation of a symbol Can "kind of" make a symbol morph into a different symbol
Create a keyframe at the start time Create a keyframe at the end time
With
the end keyframe selected, modify the shape to its end size, position, & properties
Select any frame between the beginning and ending keyframes and then create a "tween"
Create the layer Create the keyframes Create the initial shape With the ending keyframe selected, create the final shape
you to use bitmaps Can be moved, resized, rotated, morphed to a different symbol
Symbols
Save an animation image as a symbols This saves file space because the symbol is only saved once
Graphics (can't be shape tweened) Movie clips (self-contained animation within a movie) Buttons (Up, Down, Over, OverWhileDown states)
Types of symbols:
Saving Symbols
Stopping an Animation
By default, animations play continuously when published To configure an animation to play once:
Select
the frame in which you want the animation to stop, right-click, click Actions In the ActionScript window, type stop();
Stopping an Animation
Command
Adding Sounds
Create a sound layer Create a keyframe when you want the sound to play
With
You use a __________ tween to animate vector images, and a __________ tween to animate bitmaps.
a.
b. c. d. e.
Shape, symbol Motion, shape Shape, motion Symbol, shape None of the above
__________ tweens can be used to morph one vector image into another.
a.
b. c. d.
Topics
Introduction to Flash and animation The Flash development environment Creating Flash animations
Layers
Timelines
Creating
Publishing
to preview
Use HTML to create a new HTML document Use Flash (.swf) file to insert into an existing HTML document
In
Topics
Introduction to Flash and animation The Flash development environment Creating Flash animations
Layers
Timelines
Creating
You can embed audio and video files in Flash documents and then publish them on Web pages
Advantages:
Most people have a Flash player installed on their computer Gives you more control over object's appearance