Flash-CS6-Level-2
Flash-CS6-Level-2
Topics:
• Vectors ,Shapes and
Graphics
• Layers
• Gradient
• Text
FLASH CS6
Note:
Like most things in Flash, animation does not Types of animation
require any ActionScript. provides several ways to create animation and special effects. Each
However, you can create animation with Action- method provides you with different possibilities for creating
Script if you choose. engaging animated content.
Motion tweens
Use motion tweens to set properties for an object, such as position
and alpha transparency in one frame and again in another frame.
Flash then interpolates the property values of the frames in
between. Motion tweens are useful for animation that consists of
continuous motion or transformation of an object. Motion tweens
appear in the Timeline as a contiguous span of frames that can be
selected as a single object by default. Motion tweens are powerful
and simple to create.
Classic tweens
Classic tweens are like motion tweens, but are more complex to
create. Classic tweens allow for some specific animated effects not
possible with span-based tweens.
Inverse Kinematics poses (deprecated with Flash Professional CC)
Inverse kinematic poses allow you to stretch and bend shape
objects and link groups of symbol instances to make them move
together in naturalistic ways. Once you have added bones to a
shape or a group of symbols, you can change the position of the
bones or symbols in different keyframes. Flash interpolates the
positions in the in-between frames.
Shape tweens
In shape tweening, you draw a shape at one specific frame in the
Timeline, and change that shape or draw another shape at another
specific frame. Flash Pro then interpolates the intermediate shapes
for the frames in between, creating the animation of one shape
morphing into another.
Frame-by-frame animation
This animation technique lets you specify different art for each
frame in the Timeline. Use this technique to create an effect that is
like the frames of a film being played in rapid succession. This
technique is useful for complex animation where the graphic
elements of each frame must be different.
15
FLASH CS6
Because you specify only one frame rate for the entire Flash Pro
document, set this rate before you begin creating animation.
16
FLASH CS6
About layers in A hollow dot in the first frame indicates that the target object of
the motion tween has been removed. The tween span still contains
tweened animation its property keyframes and can have a new target object applied to
it.
Each scene in a Flash Pro document
can consist of any number of Timeline
layers. Use layers and layer folders to
organize the contents of an animation
sequence and separate animated
objects. Organizing them in layers and A span of frames with a green background indicates an inverse
folders prevents them from erasing,
connecting to, or segmenting each
kinematics (IK) pose layer. Pose layers contain IK armatures and
other when they overlap. To create poses. Each pose appears in the Timeline as a black diamond. Flash
animation that includes tweened interpolates the positions of the armature in the frames in be-
movement of more than one symbol or tween poses.
text field at once, place each object on
a separate layer. You can use one layer
as a background layer to contain static
artwork and use additional layers to
contain one separate animated object.
A black dot at the beginning keyframe with a black arrow and blue
When you create a motion tween, background indicates a classic tween.
Flash Pro converts the layer containing
the object you selected to tween into
a tween layer. The tween layer has a
tween icon next to the layer name in
the Timeline.
A dashed line indicates that the classic tween is broken or
If other objects are present on the
same layer as the tweened object, Flash
incomplete, such as when the final keyframe is missing.
Pro adds new layers above or below the
original layer as needed. Any objects
that existed below the tweened object
on its original layer move to a new layer
below the original layer. Any objects
that were above the tweened object
A black dot at the beginning keyframe with a black arrow and a
on its original layer move to a new light green background indicates a shape tween.
layer above the original layer. Flash
Pro inserts these new layers between
any pre-existing layers in the Timeline.
In this way Flash Pro preserves the
original stacking order of all the graphic
objects on the Stage. A black dot indicates a single keyframe. Light gray frames after a
single keyframe contain the same content with no changes. These
A tween layer can contain only tween frames have a vertical black line and a hollow rectangle at the last
spans (contiguous groups of frames frame of the span.
containing a tween), static frames,
blank keyframes, or empty frames. Each
tween span can contain only a single
target object and an optional motion
path for the target object. Because you
cannot draw in a tween layer, create
additional tweens or static frames on
17
FLASH CS6
other layers and then drag them to the A small a indicates that the frame is assigned a frame action with
tween layer. To place frame scripts on a the Actions panel.
tween layer, create them on
another layer and drag them to the
tween layer. A frame script can only
reside in a frame outside the motion
tween span itself. In general, it is best
to keep all frame scripts on a separate A red flag indicates that the frame contains a label.
layer that contains only ActionScript.
18
FLASH CS6
About drawing
The drawing tools in Adobe® Flash® Professional let you create
and modify lines and shapes for the artwork in your documents.
The lines and shapes you create in Flash Professional are all
lightweight vector graphics, which help keep your FLA file size
small.
Vector graphics
Vector graphics describe images by using lines and curves, called
vectors, that also include color and position properties. For
example, the image of a leaf is described by points through which
lines pass, creating the leaf’s outline. The color of the leaf is
determined by the color of the outline and the color of the area
enclosed by the outline.
When you edit a vector graphic, you modify the properties of the
lines and curves that describe its shape. Move, resize, reshape, and
change the color of a vector graphic without changing the quality
of its appearance. Vector graphics are resolution independent; that
is, they can be displayed on output devices of varying resolutions
without losing any quality.
19
FLASH CS6
Bitmap graphics
Bitmap graphics describe images using colored dots, called pixels,
arranged in a grid. For example, the image of a leaf is described by
the specific location and color value of each pixel in the grid,
creating an image in much the same manner as a mosaic.
When you edit a bitmap graphic, you modify pixels rather than lines
and curves. Bitmap graphics are resolution dependent, because
the data describing the image is fixed to a grid of a particular size.
Editing a bitmap graphic can change the quality of its appearance.
In particular, resizing a bitmap graphic can make the edges of the
image ragged as pixels are redistributed within the grid. Displaying
a bitmap graphic on an output device that has a lower resolution
than the image itself also degrades its quality.
Paths
Whenever you draw a line or shape in Flash, you create a line called
a path. A path is made up of one or more straight or curved
segments. The beginning and end of each segment is denoted by
anchor points, which work like pins holding a wire in place. A path
can be closed (for example, a circle), or open, with distinct end-
points (for example, a wavy line).
You change the shape of a path by dragging its anchor points, the
direction points at the end of direction lines that appear at anchor
points, or the path segment itself.
Components of
a path
A. Selected (solid) endpoint
B. Selected anchor point
C. Unselected anchor point
D. Curved path segment
E. Direction point
F. Direction line.
20
FLASH CS6
Paths can have two kinds of anchor points: corner points and
smooth points. At a corner point, a path abruptly changes direc-
tion. At a smooth point, path segments are connected as a contin-
uous curve. You can draw a path using any combination of corner
and smooth points. If you draw the wrong type of point, you can
always change it.
Points on a path
A. Four corner points
B. Four smooth points
C. Combination of corner and smooth
points.
21
FLASH CS6
22
FLASH CS6
When a shape has both a stroke and a fill, they are considered
separate graphic elements that can be selected and moved
independently.
23
FLASH CS6
Object Drawing mode
Creates shapes referred to as drawing objects. Drawing objects are
separate graphic objects that do not automatically merge together
when overlaid. This lets you overlap shapes without altering their
appearance if you move them apart, or rearrange their appearance.
Note: Set preferences for contact sensitivity Flash Professional creates each shape as a separate object that you
when selecting shapes created using the Object
Drawing mode. can individually manipulate.
24
FLASH CS6
Primitive objects
Primitive objects are shapes that let you adjust their characteristics
in the Property inspector. You can precisely control the size,
corner radius, and other properties of the shape at any time after
you have created it without having to draw it from scratch.
Overlapping shapes
When you draw a line across another line or painted shape in
Merge Drawing mode, the overlapping lines are divided into seg-
ments at the intersection points. To select, move, and reshape each
segment individually, use the Selection tool.
When you paint on top of shapes and lines, the portion underneath
is replaced by whatever is on top. Paint of the same color
merges together. Paint of different colors remains distinct. To
create masks, cutouts, and other negative images, use these
features.
25
FLASH CS6
26
FLASH CS6
English words or Arabic numerals within Arabic/Hebrew text:
TLF text requires a specific ActionScript The Property inspector has three display modes when using TLF
library to be available to Flash Player text, depending on the current type of text selection:
at runtime. If this library is not already
present on the playback computer, Flash • Text tool mode when the Text tool has been selected in the
Player automatically downloads it.
Tools panel and no text is selected in the Flash
Note: TLF text cannot be used as a mask. To
create a mask with text, use classic text. document
• Text object mode when an entire text block is selected on the
Stage
• Text edit mode when a text block is being edited
You can create three types of text blocks with TLF text, depending
on how you want the text to behave at runtime:
Gradients
A gradient is a multicolor fill in which one color gradually changes
into another color. You can apply up to 15 color transitions in a
single gradient fill. A gradient allows you to create a smooth color
gradation across one or more objects. You can name and save a
gradient as a swatch to make it easy to apply the gradient to
multiple objects in the same project.
27
FLASH CS6
28
FLASH CS6
Note: When you select a linear or radial gra-
dient, the Color panel also includes two other Create or edit a gradient fill
options if you are publishing for Flash Player 8
or later. First, the Overflow menu is enabled A gradient is a multicolor fill in which one color gradually changes
below the Type menu. Use the Overflow menu into another color. Flash Pro lets you apply up to 15 color
to control the colors applied past the limits of
transitions to a gradient. Creating a gradient is a good way to
the gradient. Second, the gradient definition
bar appears, with pointers below the bar indi- create a smooth color gradation across one or more objects. You
cating the colors in the gradient. can save a gradient as a swatch to make it easy to apply the
gradient to multiple objects. Flash Pro can create two types of
(Optional) From the Overflow menu, select an gradients:
overflow mode to apply to the gradient: Extend
(the default mode), Reflect, or Repeat.
• To change a color in the gradient, select one of the color
(Optional) To create an SVG-compliant (Scalable pointers below the gradient definition bar (the triangle at the
Vector Graphics) linear or radial gradient, select top of the selected color pointer will turn black). Then click in
the Linear RGB check box. This will allow the the color space pane that appears above the gradient bar. Drag
gradient to look smooth when scaled to differ-
the Brightness slider to adjust the lightness of the color.
ent sizes after it is first applied.
29
FLASH CS6
Wrap-up
By the end of this workshop, you should be able to:
30