Flash CS3 special effects tutorial: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{Incomplete}}
{{Incomplete}}
This entry is part of the [[Flash]] CS3 tutorials.


== Introduction ==
== Introduction ==


This is part of [[Flash]] CS3 tutorials. Doesn't contain details, just some short "how to".
<div class="tut_goals">
 
; Learning goals
; Learning goals:
* Learn how to add special effects to animations
: Learn how to add special effects to animations
; Prerequisites
 
*[[Flash CS3 desktop tutorial]]
;Prerequisites:
*[[Flash drawing tutorial]]
:[[Flash CS3 desktop tutorial]]
*[[Flash object transform tutorial]]
:[[Flash drawing tutorial]]
*[[Flash colors tutorial]]
:[[Flash object transform tutorial]]
*[[Flash frame-by-frame animation tutorial]]
:[[Flash colors tutorial]]
*[[Flash motion tweening tutorial]]
:[[Flash frame-by-frame animation tutorial]]
*[[Flash shape tweening tutorial]]
:[[Flash motion tweening tutorial]]
; Moving on
:[[Flash shape tweening tutorial]]
* The [[Flash tutorials]] article has a list of other tutorials. E.g. you could start learning how to make interactive programs with the [[Flash button tutorial]].
 
* You also may achieve more sophisticated special effects with ActionScript libraries that you can download. E.g. if you want snowflakes for example, try the [http://flintparticles.org/ FLiNT particle system] and read the [[Flash using actionscript libaries tutorial]].
;Moving on
; Level and target population
: The [[Flash]] article has a list of other tutorials.
* Beginners (but see the prerequisites)
 
; Quality
;Quality
* Rather low. This tutorial doesn't contain many details, just some short "how to"s and feature demonstrations.
: This text shortly demonstrates some features and should technical people get going. It is good enough for self-learning beginners. It can be used as handout in a "hands-on" class. That is what [[User:Daniel K. Schneider|Daniel K. Schneider]] made it for...
; To Do
;Level
* Filters
</div>


In Flash there are several built-in special effect features.
In Flash there are several built-in special effect features.
Line 52: Line 55:
* Right-click on the object: ''Timeline Effects''; ''Remove Effect'' or ''Edit Effect''
* Right-click on the object: ''Timeline Effects''; ''Remove Effect'' or ''Edit Effect''


There are three submenus for effects (I can't see the difference between the first two)
There are three sub-menus for effects:
* Assistants
; (1) Assistants
** Copy to Grid (not a timeline effect, just a multiplication of drawing to a grid)
# Copy to Grid (not a timeline effect, just a multiplication of drawing to a grid)
** Distributed Duplicate. Will make "tumbling copies" of an element.  
# Distributed Duplicate. Will make "tumbling copies" of an element.  
* Effects
 
** Blur (object will blur and change size in all or one chosen direction)
; (2) Effects
** Drop Shadow (just draws a static drop shadow)
# Blur (object will blur and change size in all or one chosen direction)
** Expand (object will expand/shrink)
# Drop Shadow (just draws a static drop shadow)
** Explode (object will explode and draw different fragments on an configurable arc)
# Expand (object will expand/shrink)
* Transform/Transition
# Explode (object will explode and draw different fragments on an configurable arc)
** Transform (A shape tween with extra options, e.g. duration, position, scale, rotation, spin, ...)
 
** Transition (A motion tween with extra options, e.g. direction, duration, fading, motion ease)
; (3) Transform/Transition
# Transform (A shape tween with extra options, e.g. duration, position, scale, rotation, spin, ...)
# Transition (A motion tween with extra options, e.g. direction, duration, fading, motion ease)


For each of these effects you can set certain parameters, in particular:
For each of these effects you can set certain parameters, in particular:
Line 82: Line 87:
The following (ugly) example contains three effects:
The following (ugly) example contains three effects:


'''Distributed duplicate''' (tumbling): An object will tumble and be reproduced with X copies
(1) '''Distributed duplicate''' (tumbling): An object will tumble and be reproduced with X copies.
You may set several parameters like:
You may set several parameters like:
* Number of copies
* Number of copies
Line 91: Line 96:
* Alpha and color change.
* Alpha and color change.


* '''Blur''': Motion blur that my include change of alpha, position or scale of an object
(2) '''Blur''': Motion blur that may include change of alpha, position or scale of an object
* Total duration (in frames)
* Total duration (in frames)
* Scale (in percentage): Object will become bigger or smaller.
* Scale (in percentage): Object will become bigger or smaller.
Line 97: Line 102:
* Horizontal/vertical blur on/off and direction
* Horizontal/vertical blur on/off and direction


'''Explode'''
(3) '''Explode'''
* Effect duration (frames)
* Effect duration (frames)
* Direction of explosion
* Direction of explosion
Line 106: Line 111:
[[image:flash-cs3-timeline-effects.png|thumb|400px|none|Timeline effects example]]
[[image:flash-cs3-timeline-effects.png|thumb|400px|none|Timeline effects example]]


To edit each animation, you will get a menu like this and you have to play with the parameters until you get it right. Remember that you can not make any changes to the object or the generated objects (except using the ''right-click->Timeline Effects'' menu !
To edit create special efffects animation, you will work with a tool available from the right-click time-line effects menu. Below we show a screenshot of "Distributed duplicate". You then have to play with the parameters until you get it right. Remember that you cannot make any changes to the object or the generated objects (except using the ''right-click->Tt uses tumbling is this "enhanced" video. imeline Effects'' menu !
[[image:flash-cs3-timeline-effects-distributed-duplicate.png|thumb|800px|none|Distributed duplicate timeline effect]]
[[image:flash-cs3-timeline-effects-distributed-duplicate.png|thumb|800px|none|Distributed duplicate timeline effect]]


Example:
Example:
* [http://tecfa.unige.ch/guides/flash/ex/special-effects/flash-cs3-special-timeline-effects.html flash-cs3-special-timeline-effects.html]
* [http://tecfa.unige.ch/guides/flash/ex/special-effects/flash-cs3-special-timeline-effects-1.html flash-cs3-special-timeline-effects.html]
* Grab the source of the flash-cs3-special-timeline-effects.* files from:
* Grab the source of the flash-cs3-special-timeline-effects.* files from:
: http://tecfa.unige.ch/guides/flash/ex/special-effects
: http://tecfa.unige.ch/guides/flash/ex/special-effects
Line 131: Line 136:


'''Step 1 - Create some contents''':
'''Step 1 - Create some contents''':
* Put them in one or several layers. We will make them "masked" later in step 3.
* Put these contents in one or several layers. We will turn these layers "masked" in step 3.


'''Step 2 - Add a mask layer''':
'''Step 2 - Add a mask layer''':
* On top of these layers, create a new layer
* On top of these layers, create a new layer
* ''Right-click'' on the layer name and select ''Mask''. This layer will mask the others and contain a single graphic (shape, graphic symbol or group).
* ''Right-click'' on the layer name and select ''Mask''. This layer will mask the others and it should contain a single graphic element (shape, graphic symbol or group).


'''Step 3 - Define the masked layers''':
'''Step 3 - Define the masked layers''':
* The layer just beneath the Mask layer already should be masked. If it is not, ''right-click'' on the layer name and select ''Masked''.
* The layer just beneath the Mask layer already should be masked. If it is not, ''right-click'' on the layer name and select ''Masked''.
* You can make other layers underneath to be masked with the same procedure. Move normal layers in a position after the mask layer or a masked layer or create new ones...
* You can turn other layers underneath to be masked with the same procedure. Move normal layers to a position after the mask layer or an already masked layer or create new ones...


To undo a masked layer, just right-click and revert back to "normal". To see a picture of mask and masked layers, scroll down a bit.
To undo a masked layer, just right-click and revert back it to "normal". We show a picture of mask and masked layers further down.


=== Simple motion tween ===
=== Masks animatied by a simple motion tween ===


'''Step 1 - Add a simple motion tween''':
'''Step 1 - Add a simple motion tween''':
Line 150: Line 155:


'''Step 2 - Do a motion tween'''
'''Step 2 - Do a motion tween'''
* Like in a normal motion tween...
* Like in a normal motion tween as explained in the [[Flash motion tweening tutorial]].


Example:
Example:
Line 188: Line 193:
== Filters ==
== Filters ==


This section needs to be written. When you do a "normal" motion or shape tween have a look at the options in the parameter panel....
This section needs to be written.  
 
Look at the options in the parameter panel when you do a "normal" motion or shape tween and play with these ...


== Links ==
== Links ==

Revision as of 15:24, 21 October 2008

This entry is part of the Flash CS3 tutorials.

Introduction

Learning goals
  • Learn how to add special effects to animations
Prerequisites
Moving on
Level and target population
  • Beginners (but see the prerequisites)
Quality
  • Rather low. This tutorial doesn't contain many details, just some short "how to"s and feature demonstrations.
To Do
  • Filters

In Flash there are several built-in special effect features.

  • You can create some kinds of combined shape/motion/duplication animations (timeline special effects)
  • You can work with masks
  • You can apply filters

Some of these effects may be very demanding on your CPU. Try to work with simpler objects or space out generated keyframes if this happens.

Timeline effects

Timeline effects are effects that are automatically generated by the Flash environment from an object. You only can parameterize these effects, but not hand-edit generated objects and frames !

Summary of the procedure

Step 1 - Select an object and open the effects tool
  • Create a new layer
  • Insert an object (i.e. text, shapes, simple graphics, groups, graphic symbols and button symbols, bitmap images)
  • Select this object
  • Right-click->Timeline Effects or else Menu Insert->Timeline Effects , then see next step
Step 2 - Select an effect
  • Select an effect and adjust parameters
  • You can preview the effect within the Effects tool.

NB: Ignore error warnings about Flash 7 etc.

Step 3 - Start over
  • Right-click on the object: Timeline Effects; Remove Effect or Edit Effect

There are three sub-menus for effects:

(1) Assistants
  1. Copy to Grid (not a timeline effect, just a multiplication of drawing to a grid)
  2. Distributed Duplicate. Will make "tumbling copies" of an element.
(2) Effects
  1. Blur (object will blur and change size in all or one chosen direction)
  2. Drop Shadow (just draws a static drop shadow)
  3. Expand (object will expand/shrink)
  4. Explode (object will explode and draw different fragments on an configurable arc)
(3) Transform/Transition
  1. Transform (A shape tween with extra options, e.g. duration, position, scale, rotation, spin, ...)
  2. Transition (A motion tween with extra options, e.g. direction, duration, fading, motion ease)

For each of these effects you can set certain parameters, in particular:

  • Number of copies
  • Offset and rotation parameters, i.e. where the generated images will display and if/how they rotate
  • Offset start frame: Keyframes in which the images will be drawn

Important: Using the special effects means that you can not change anything Flash will generate. Also, do not make modifications to the object. Flash will:

  • rename the layer (do not choose a "better" name)
  • add stuff to a Effects Folder in the library
  • Add an item to the library

If you want to remove an effect, it is best to Right-click->Remove on an object ! You also can delete all the generated objects, but this is more work and you may by mistake delete something else ....

An example with timeline effects

The following (ugly) example contains three effects:

(1) Distributed duplicate (tumbling): An object will tumble and be reproduced with X copies. You may set several parameters like:

  • Number of copies
  • Offset of copies in x an y position (in pixels)
  • Rotation of copies (in degrees)
  • Offset start frame (keyframes across the timeline that will have this animation). So "number of copies" * "offset start frame" will define the total length (frames) of this animation.
  • Linear scaling in x and y direction (in percentage)
  • Alpha and color change.

(2) Blur: Motion blur that may include change of alpha, position or scale of an object

  • Total duration (in frames)
  • Scale (in percentage): Object will become bigger or smaller.
  • Resolution, i.e. number of steps: How many times should the object be duplicated during the blurring process.
  • Horizontal/vertical blur on/off and direction

(3) Explode

  • Effect duration (frames)
  • Direction of explosion
  • Arc size (x/y pixels)
  • Rotation of fragments and change of fragments
  • Final alpha (in percentage)
Timeline effects example

To edit create special efffects animation, you will work with a tool available from the right-click time-line effects menu. Below we show a screenshot of "Distributed duplicate". You then have to play with the parameters until you get it right. Remember that you cannot make any changes to the object or the generated objects (except using the right-click->Tt uses tumbling is this "enhanced" video. imeline Effects menu !

Distributed duplicate timeline effect

Example:

http://tecfa.unige.ch/guides/flash/ex/special-effects

An other example that uses tumbling is this "enhanced" video.

http://tecfa.unige.ch/guides/flash/ex/component-video-intro/

Masks

“For spotlight effects and transitions, use a mask layer to create a hole through which underlying layers are visible. A mask item can be a filled shape, a type object, an instance of a graphic symbol, or a movie clip. Group multiple layers under a single mask layer to create sophisticated effect” (About mask layers, retrieved 16:51, 8 October 2007 (MEST)).

Mask and masked layers

Masks are layers that will allow you to see what is underneath through a sort of hole (i.e. a drawing). You then can animate this hole with a motion tween for example. Masked layers are the layers underneath.

In the following picture, a mask lets you see part of bookshelf through an oval.

A mask with an oval

Step 1 - Create some contents:

  • Put these contents in one or several layers. We will turn these layers "masked" in step 3.

Step 2 - Add a mask layer:

  • On top of these layers, create a new layer
  • Right-click on the layer name and select Mask. This layer will mask the others and it should contain a single graphic element (shape, graphic symbol or group).

Step 3 - Define the masked layers:

  • The layer just beneath the Mask layer already should be masked. If it is not, right-click on the layer name and select Masked.
  • You can turn other layers underneath to be masked with the same procedure. Move normal layers to a position after the mask layer or an already masked layer or create new ones...

To undo a masked layer, just right-click and revert back it to "normal". We show a picture of mask and masked layers further down.

Masks animatied by a simple motion tween

Step 1 - Add a simple motion tween:

  • Select the mask layer
  • Draw a non-editable object (graphic object, symbol)

Step 2 - Do a motion tween

Example:

http://tecfa.unige.ch/guides/flash/ex/special-effects

Shape tween

  • Step 1 - Draw a shape in the mask layer
  • Step 2 - Do a shape tween

Guided motion tween

You need to animate a movie clip. You also can do simple motion animation that way.

Step 1 - Create a movie symbol

  • E.g. create a drawing then Right-click->Convert to Symbol, select Movie Clip
  • E.g. Menu Insert New Symbol (CTRL-F8)

Timeline might look like this:

Movie clip in a mask

Step 2 - Edit the movie symbol

  • Double click on the symbol
  • Create a guided motion tween (this implies that you should again make the graphic into symbol, then proceed in the same way as normal guided motion tweening).

You embedded movie clip might look like this:

A guide motion animation of a movie clip as mask

Example:

http://tecfa.unige.ch/guides/flash/ex/special-effects

Filters

This section needs to be written.

Look at the options in the parameter panel when you do a "normal" motion or shape tween and play with these ...

Links