Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: blurred object
From: John Dowdell
Date: Wed, 10 Jun 1998 21:40:20 +0100

At 10:21 PM 6/9/98, Karen Parry wrote, in parts:
> Is there a way to get this kind of effect [transparent glow]
> in Flash... I thought that png graphics could do this kind
> of *more than one-bit transparency*.

Tom described one way: make a second shape in Flash for the glow and give
it a semi-transparent fill. You might also wish to play with making a color
with a gradient transparency, so that the glow is thicker at the center
than at the edges. You can then plop the ball atop the glow.


For PNG, yes, you can do this there too. This may or may not be more
efficient, depending on the design. It likely won't be as small as
Flash-native graphics. Here's one set of steps to get a glowing blue ball
from Fireworks to Flash:

1) In Fireworks, make a new document of "Transparent" background, and draw
an unstroked circle with a blue fill (or patterned fill, or textured fill,
or masked fill, etc).

2) Clone the circle and give the clone a white->black radial gradient. Set
the center of the gradient at the desired highlight spot. Use the
"multiply" blending mode, and adjust opacity as desired. (Result: The
circle will become a sphere, with 3D shading.)

3) Clone the circle again. Feather the edge 10-20 pixels or so (Fill
Inspector). Give it the desired fill, perhaps a "Folds" gradient with
silver color scheme, or a solid yellow fill with a transparent 100% smoky
texture, or whatever. Send this glow back behind the other two circles.
(Result: You'll appear to have a 3D ball with a fuzzy glow surrounding it.)

4) Save out this file, and open it in Flash 3. (Flash can read Fireworks'
native PNG file format. For smallest PNG size use "Export PNG" from
Fireworks to get rid of its native editing data, but for this quick test
you can just "Save" from Fireworks too.)

5) At this point you should be able to import the PNG into Flash and see
background objects through the glow surrounding the ball.


Make sure that the background in Fireworks is set to the transparent
checkerboard pattern... a black or white canvas still conveys color
information! If you're making PNG in Photoshop, make sure that you check
their technotes... I recall something about needing to flatten the layers
first or some such, but I don't have their PNG details at the ready,
regrets.

(Tip: If you're actually seeking a motion blur, then you can also put
increasingly-transparent copies of the shape beneath it, in the apparent
direction of motion. In Flash, cloned motion guides might be able to help,
although you'll be increasing the realtime compositing costs when using
more transparent shapes.)

(Aside to other listmembers: Fireworks is *really* fun. It can complement
your Flash work nicely, because it has the funky richness of pixels, and
can also create easy interface elements such as JavaScript rollovers, Flash
borders, more. The 1.0 trial version is fully-functional for 30 days beyond
the de-installed beta. I *strongly* commend it to your attention... great
stuff.)

Does the above-all sound similar to what you're trying to accomplish, Karen...?

jd




John Dowdell, Macromedia Tech Support, San Francisco CA US

Private email options: http://www.macromedia.com/support/priority.html
Search technotes: http://www.macromedia.com/support/search/
Entertainment on the web: http://shockrave.macromedia.com/
Luscious web graphics: http://www.macromedia.com/software/fireworks/



------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratshocker [dot] com


[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]