You will need to make a seperate MC to add the glow to...

ie

MainMC.GlowMC
MainMC.TintMC

OR, you can apply the filters to a bitmap, instead of applying them directly to the MC.



On Apr 25, 2006, at 3:39 PM, Mendelsohn, Michael wrote:

Hi list...

The code below tints a MC on the stage and then I'm trying to put a
black glow around it, but the glow turns out to be the same tint as the
ColorTransform.  Is there a way to make sure the glow is a different
color?

Thanks,
- Michael M.


var clr:ColorTransform = new ColorTransform();
clr.rgb = Number(String("0x" + fmColors[whichColor][0].toString(16) +
fmColors[whichColor][1].toString(16) +
fmColors[whichColor][2].toString(16)));
trans.colorTransform = clr;
var fltr:Array = [new GlowFilter(0x000000, 1, 5, 5, 1000, 2)];
newClip.filters = fltr;


_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to