RE: [Flashcoders] AS3 DropShadow filter wont change color

2009-11-28 Thread Cor
Paul,

Where do you set the color change?

Regards
Cor

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul Andrews
Sent: zaterdag 28 november 2009 11:24
To: Flash Coders List
Subject: [Flashcoders] AS3 DropShadow filter wont change color

I'm using AS3. I have a MovieClip with a shape.
I have a class X associated with the MovieClip and that class extends 
another class of mine Y which extends MovieClip ( essentially 
MovieClip-X-Y). The only reason that Class Y exists is that library 
items must be associated with unique classes.

I control my MovieClip using Class X.

Class X uses a DropShadow filter to apply a drop shadow to the 
MovieClip. It works great, except it wont apply the color change to the 
drop shadow. Everything else will work, but not the color setting. If I 
set the filter to be applied to the parent MovieClip, the shadow changes 
color.

Anyone seen anything like this?

Paul
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 9.0.709 / Virus Database: 270.14.85/2531 - Release Date: 11/27/09
20:39:00

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AS3 DropShadow filter wont change color

2009-11-28 Thread Paul Andrews

Cor wrote:

Paul,

Where do you set the color change?
  

In a function in Class X, called from the constructor.

Regards
Cor

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Paul Andrews
Sent: zaterdag 28 november 2009 11:24
To: Flash Coders List
Subject: [Flashcoders] AS3 DropShadow filter wont change color

I'm using AS3. I have a MovieClip with a shape.
I have a class X associated with the MovieClip and that class extends 
another class of mine Y which extends MovieClip ( essentially 
MovieClip-X-Y). The only reason that Class Y exists is that library 
items must be associated with unique classes.


I control my MovieClip using Class X.

Class X uses a DropShadow filter to apply a drop shadow to the 
MovieClip. It works great, except it wont apply the color change to the 
drop shadow. Everything else will work, but not the color setting. If I 
set the filter to be applied to the parent MovieClip, the shadow changes 
color.


Anyone seen anything like this?

Paul
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 9.0.709 / Virus Database: 270.14.85/2531 - Release Date: 11/27/09

20:39:00

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

  


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AS3 DropShadow filter wont change color

2009-11-28 Thread Paul Andrews

Paul Andrews wrote:

I'm using AS3. I have a MovieClip with a shape.
I have a class X associated with the MovieClip and that class extends 
another class of mine Y which extends MovieClip ( essentially 
MovieClip-X-Y). The only reason that Class Y exists is that library 
items must be associated with unique classes.


I control my MovieClip using Class X.

Class X uses a DropShadow filter to apply a drop shadow to the 
MovieClip. It works great, except it wont apply the color change to 
the drop shadow. Everything else will work, but not the color setting. 
If I set the filter to be applied to the parent MovieClip, the shadow 
changes color.


Anyone seen anything like this?
It turns  out to be related to a color transform I had applied to the 
movieclip elsewhere in the code being applied to the shadow too.


My thanks to Cor, who has checked out some examples for me and caused me 
a Doh! moment about my Class hierarchy.


Paul


Paul
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders