flash question
- Started
- Last post
- 6 Responses
- cmann
i'm not much into flash. my question is if there's the possibility of doing an animation with transparency.
i checked this website www.shahabbokhari.com/index.html…
and there's a chance to do it.
help please.
thanks
- falcadia0
Yes you can. Please explain yourself better.
- kewHexton0
transparency = alpha
tween it
- fyoucher10
I think when he says 'transparency' he really means the effect fading in from black, as that site uses it on every screen. Its not a tween using brightness or a tint. Its a simple tween using the advanced color settings. Just set the right column of numbers to -255, -255, -255 and then tween to normal settings.
- satan0
import caurina.transitions.Tweener;
var img_color:Color = new Color(myImage);
var img_colorTransform:Object = {ra:100, rb:-255, ga:100, gb:-255, ba:100, bb:-255, aa:100, ab:0};
img_color.setTransform(img_color...
img_colorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
Tweener.addTween(myImage, {_colorTransform:img_colorTransf... time:2.4, transition:"easeoutquint"});
- mightyj0
fyoucher1 and satan have it right. But make sure your image has a lighting source that works well with that sort of animation. If most of the image is lighted the same you won't see as dramatic of a change.
