Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Blending light sources... |
From: | Scott Rouse |
Date: | Thu, 21 Dec 2000 15:46:40 GMT |
I am not sure of the exact question....so I will shoot at what I think you
are trying to do.
First, Flash allows for overlapping colors to change when the top color,
graphic, has had its alpha reduced which presents the problem of having the
entire object's color change as well. You end up never having the truest
red because its blended with whatever is the background. You can get by
this problem by creatively placing an identical movie clip with 100% alpha
directly behind the corresponding color, but below both that color and the
color that you want to blend with. In other words, if you want to have blue
blend with red you have four layers with the bottom two at 100% alpha and at
the color red and blue that you want, and the top two layers at 80% alpha or
whatever suits you and the same color and then tie them to their
corresponding bottom layers with code of some sort
_root.redtop._x = _root.redbottom._x;
_root.redtop._y= _root.redbottom._y;
_root.bluetop._x = _root.bluebottom._x;
_root.bluetop._y= _root.bluebottom._y;
depending on what you want to do...you can loop in two frames or you can
stick the above code on a Movie Clip action on Frame or mouse move...The
idea being that this code will repeat and sustain the two object's
positions.
Secondly, This will produce a subtractive color mixture (red, yellow
(green), blue = mud or black) which is akin to paint which is contrary to
light which is additive (red, yellow (green), blue = white). Technically,
it will not be like blending "light" per se. If you need additive
mixture....take a look, maybe, at the Color object code in Flash. It allows
you to manipulate the colors of any object directly. I can kind of imaging
creating code that would reverse the affects of certain colors overlaps or
just certain color's existence (in a closed system where only red, yellow,
and blue are the only none blended colors). It would be some work to figure
out it seems...but maybe only because I haven't thought about it before. On
second thought though...I can't see how to change just parts of an object's
color.....the Color object will change the entire movie clip.
Hopefully this helped (and that you get this email....its been days since I
sent my last post and it hasn't seen the light of day)
Scott
----- Original Message -----
From: "Jefferis Peterson" <jefferispetersonsales [dot] net>
To: "Flash MailList" <flasherchinwag [dot] com>
Sent: Wednesday, December 20, 2000 8:15 PM
Subject: FLASH: Blending light sources...
> Blending light sources...
>
> I suppose there is no way to do this, but RGB colors from the monitor as
> they intersect create different colors. I was wondering if you have a
> blue object intersect with a red one in Flash, there is no way to produce
> the corresponding color in the intersection of the RGB colorwheel is
there?
>
> Jeff
>
>
> www.PetersonSales.net
> Flash, Web Design and Marketing
> ICQ 19112253
> _______
> "Happy is the person who finds wisdom, and the one who gets
> understanding, for the gain from it is better than gain from silver and
> its profit better than gold." - Proverbs 3:13,14.
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre
Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save �200
http:// www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
FLASH: Ver4 Load Movie, Patrick McNeil
Replies
FLASH: Flash 5 Beginner problem, Mike Kelly
FLASH: Blending light sources..., Jefferis Peterson
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]