csk0921 / tweener

Automatically exported from code.google.com/p/tweener
0 stars 0 forks source link

using tweener's 'FilterShortcuts' to give out glow, but can only be red??? #59

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I have written a few tweens with tweener that make use of the glow filter,
but in the examples below one should be a white glow and one blue. But all
glows are default red.

Here are the lines of my code that should give NON RED glows to their
movieclips:

Tweener.addTween(cursorNormal, {_Glow_blurX:5, _Glow_blurY:5,
_Glow_color:0xFFFFFF, _Glow_quality:2, transition:"linear", time:0.1});

Tweener.addTween(gameMenu.textMenu, {_Glow_blurX:100, _Glow_blurY:100,
_Glow_color:0x0099CC, _Glow_quality:4, _Glow_knockout:true,
_Glow_strength:100, transition:"linear", time:1});

and yes I have...
"import caurina.transitions.Tweener;
import caurina.transitions.properties.FilterShortcuts;
FilterShortcuts.init();"

Why are my glows ignoring "_Glow_color:0x******"?

Original issue reported on code.google.com by chir...@gmail.com on 8 Apr 2009 at 11:30

GoogleCodeExporter commented 8 years ago
It doesn't really matter now I have worked around it, for example replacing
"_Glow_color:0xFFFFFF" with "_Glow_color_r:255, _Glow_color_g:255, 
_Glow_color_b:255"

Original comment by chir...@gmail.com on 8 Apr 2009 at 11:51

GoogleCodeExporter commented 8 years ago
did you try quotes around the color?  

Original comment by centero...@gmail.com on 5 Nov 2009 at 6:38