[Tweener] Color filters not compatible.

Jason Van Pelt VanPeltJ at peteramayer.com
Tue Jun 10 07:13:50 PDT 2008


This may help -- it's something I discovered a while back...  In
ColorShortcuts.as, change line 239 to

var cfm:ColorTransform = new ColorTransform(mc, mc, mc, p_obj.alpha, co,
co, co, 0);

You might have to do it for line 245 as well. I haven't really used
contrast tweens much so I haven't altered that one yet. This might not
solve your problem, but it did solve a similar problem I had in the past
with alpha values being over-written by that ColorTransform object.


Jason Van Pelt
Interactive Developer
504.210.1232 (p) / 504.581.2731 (f)
Peter A. Mayer Advertising, Inc.
www.peteramayer.com




                                                                           
             "Baluta Cristian"                                             
             <cristi.baluta at gm                                             
             ail.com>                                                   To 
             Sent by:                  tweener at lists.caurinauebi.com       
             tweener-bounces at l                                          cc 
             ists.caurinauebi.                                             
             com                                                   Subject 
                                       Re: [Tweener] Color filters not     
                                       compatible.                         
             06/10/2008 01:28                                              
             AM                                                            
                                                                           
                                                                           
             Please respond to                                             
             tweener at lists.cau                                             
               rinauebi.com                                                
                                                                           
                                                                           




if the second overrwrites the first is logical, a contrast of 0 overrwrites
the brightness. And is working like this because both of them use
colorTransform i suppose.

On Tue, Jun 10, 2008 at 2:14 AM, Bradley <bradley at seven2.net> wrote:
  I'm trying to tween _brightness and _contrast with one tween like so:

  Tweener.addTween(someClip, {_brightness:-.5, contrast:.5, time:.5};

  It seems like the two props can't be used with each other, and the second
  one defined overwrites the first.

  Tweener.addTween(someClip, {_brightness:-.5, contrast:0, time:.5};

  should yield the same result as

  Tweener.addTween(someClip, {_brightness:-.5, time:.5};

  but the first one does nothing at all. The second one actually changes
  the brightness like both of them should.

  _______________________________________________
  Tweener mailing list
  Tweener at lists.caurinauebi.com
  http://lists.caurinauebi.com/listinfo.cgi/tweener-caurinauebi.com



--
Cristi
www.ralcr.com _______________________________________________
Tweener mailing list
Tweener at lists.caurinauebi.com
http://lists.caurinauebi.com/listinfo.cgi/tweener-caurinauebi.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.caurinauebi.com/pipermail/tweener-caurinauebi.com/attachments/20080610/33ca1a7f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic06618.gif
Type: image/gif
Size: 1255 bytes
Desc: not available
URL: <http://lists.caurinauebi.com/pipermail/tweener-caurinauebi.com/attachments/20080610/33ca1a7f/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecblank.gif
Type: image/gif
Size: 45 bytes
Desc: not available
URL: <http://lists.caurinauebi.com/pipermail/tweener-caurinauebi.com/attachments/20080610/33ca1a7f/attachment-0001.gif>


More information about the Tweener mailing list