|
-
AS 3 ... add Alpha transparency overlay.
Hello,
I was wondering if any one could help me with this?
I am using Caurina tweener classes to control animation of a jpg.
On the layer above it I would like to control the intensity of red.
I created a layer above it called red and made it into a movie clip.
now to control its alpha.... here is what I have now ...
PHP Code:
import caurina.transitions.*;
import caurina.transitions.properties.FilterShortcuts;
import caurina.transitions.properties.ColorShortcuts;
//initialize the shortcuts
FilterShortcuts.init();
ColorShortcuts.init();
function animate()
{
Tweener.addTween(about_mc, {
time:5,
x: 794,
y:344,
height:926,
width:1526,
// x: 506,
// y:210,
// height:426,
// width:1026,
_Blur_blurX:25,
_Blur_blurY:25,
transition:"easeInCubic"
});
}
animate();
-
You can use the alpha parameter in there to fade it on or off - I think there is also a special tint paramerter called _color that would take a hex value as well.
Please use [php] or [code] tags, and mark your threads resolved 8)
-
u mean u want to control the opacity??? isn't just alpha:number
-
yes, just reduce the alpha of that movieClip
-
Resolved this One with
PHP Code:
// Fade in redoverlay in 2 seconds
redoverlay.alpha = 0;
Tweener.addTween(redoverlay, {alpha:.17, time:7});
thanks .
So this fades in a clip over it with a ,light red overlay...
But now
I want to increase saturation ....
Any Ideas?
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|