8Graphics
To prevent this effect from looking too much like a drop shadow against a
flat wall behind the original object, you can use the Free Transform tool to
skew the filtered movie clip instance. This technique takes a bit of trial and
error. Squash and skew the instance until it looks as if the shadow is being
cast upon a floor. (You may need to reposition the instance.) Test the movie
clip, and you see the effect come to life.
You can find the sample source files, drop_shadow_dog.fla and
drop_shadow_monkey.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\AnimatedDropShadow.
■ On the Macintosh, browse to Macintosh HD/Applications/
Macromedia Flash 8/Samples and Tutorials/Samples/Graphics/
AnimatedDropShadow.
These samples were developed by Chris Georgenes.
Animation and gradients
This sample shows how to create a realistic-looking animation with
gradients and drop shadows.
To re-create the process of constructing this sample, you first design the
eight-ball graphic. Start by mixing a radial gradient containing three colors:
black, white, and a medium gray. Then create a circle with the Oval tool
(hold down Shift to constrain the shape so it is perfectly round), and fill it
with the new radial gradient. Using the Gradient Transform tool, edit the
radial gradient fill by offsetting it from the center of the circle. This gives
the illusion of depth as the off-center white highlight gradually changes to
black and a subtle amount of gray appears in the lower-right corner of the
sphere. This is crucial for making a convincing-looking sphere; it suggests
light wrapping around from behind the ball.
Then convert the gradient fill to a graphic symbol and edit it further by
adding a new layer and applying a shadow using a linear gradient. The
linear gradient uses two colors with varying amounts of alpha mixed in.
Comentários a estes Manuais