MACROMEDIA FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH Bedienungsanleitung Seite 9

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 48
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 8
Animation and gradients 9
The next step is to create a movie clip symbol and place this eight-ball
graphic inside it. Inside this movie clip is where the “8” graphic is added
along with a mask layer. Then add a mask that is the same size and shape as
the eight ball, and use the Free Transform tool and motion tweening to
create the illusion of the ball rolling in various directions by moving and
squashing the “8” graphic across the surface of the circle. The mask
constrains the visibility of the “8” graphic to the exact area of the circle
below it. This makes for a convincing illusion of the ball rolling.
Then add animations of the ball rolling to a stop and starting from a
stationary position. Use descriptive frame labels and simple frame actions
so this movie clip can be targeted later with ActionScript from the main
timeline. The movie clip has to be set up this way; it uses a drop shadow,
which can be applied only to movie clip instances.
Applying the drop shadow is the easiest part, thanks to the graphics filters
in Flash. You simply select the movie clip instance, and from the Filters tab
of the Property inspector, click the Plus (+) pop-up menu and select Drop
Shadow. From there you can adjust the amount of blur, strength, quality,
color, angle distance, and so on.
The drop shadow filter is used to create blurs only when the eight ball is
animated moving rapidly across the screen. This emphasizes the speed at
which the ball is moving and creates a dynamic visual effect.
You can find the sample source file, animation_and_gradients.fla, in the
Samples folder on your hard disk.
In Windows, browse to boot drive\Program Files\Macromedia\Flash
8\Samples and Tutorials\Samples\Graphics\AnimationAndGradients.
On the Macintosh, browse to Macintosh HD/Applications/
Macromedia Flash 8/Samples and Tutorials/Samples/Graphics/
AnimationAndGradients.
This sample was developed by Chris Georgenes.
Seitenansicht 8
1 2 3 4 5 6 7 8 9 10 11 12 13 14 ... 47 48

Kommentare zu diesen Handbüchern

Keine Kommentare