Tween Alpha !?

** function homeumMouseOverHandler(ev:MouseEvent):void{

var myTweenAlpha:Tween = new Tween(homeum, "alpha", Strong.easeInOut, 0, 1, 1, true); 

}

function homeumMouseOutHandler(ev:MouseEvent):void{

var myTweenAlpha:Tween = new Tween(homeum, "alpha", Strong.easeOut, 0, 1, 1, true); 

}**

Why this code is not doing the tween alpha when i remove the mouse ?
Can anyone help me?

My other question is:

I want to do a Intro with this function but without mouseEvent, just a simple movieClip that start when i enter at other page

function elastico2MouseOverHandler(ev:MouseEvent):void{
var myTween2 = new Tween(elastico2, “scaleY”, Regular.easeOut, 0,1,0.5,true);
}

how i do it ?

I’ve not had much use with the in built Tween class… I’m a TweenLite kinda guy myself - but just looking at your code - the Tweens are both the same? - shouldn’t the RollOut tween be

var myTweenAlpha:Tween = new Tween(homeum, “alpha”, Strong.easeOut, 1, 0, 1, true);

??

As for the intro, I think what you’re looking for is

function elastico2MouseOverHandler(ev:Event = null):void{
var myTween2 = new Tween(elastico2, “scaleY”, Regular.easeOut, 0,1,0.5,true);
}

elastico2MouseOverHandler();

Hope this helps…

Thanks it works !
just a simple thing, lol, i am a newbie in this.

just one more thing, to change the color to something how i do ?
i have tryed this but doesnt work.
my_mc.color = FFFFF ;

colour (sorry color) is usually in 0xFFFFFF format…
If you’re doing a lot of Tween work - i’d seriously recommend you to get Greensocks TweenLite

tweenlite.com

Then you could use something like this

TweenLite.to(mc, 2, {alpha:1, tint:0x998855}):