Hi there,
How can i tween color and _x at the same time??
function over() {
TweenFilterLite.to(this, 0.2, {_x:this._x+5, ease:Bounce.easeOut, overwrite: false});
TweenFilterLite.to(this, 0.3, {colorMatrixFilter:{colorize:0xFF0000, amount:1 }});
}
doesn’t work
nvermind i used the wrong property
function over() {
trace(this);
mc = this;
TweenFilterLite.to(mc, 0.4, {_x:15, ease:Bounce.easeOut});
TweenFilterLite.to(mc, 0.3, {tint:0xFF0000, overwrite: false});
}
ok now how do i make sure the color is changed back onRollOut??
function out() {
TweenFilterLite.to(this, 0.2, {_x:5, ease:Bounce.easeOut});
TweenFilterLite.to(this.nav.menuItemBG_mc, 0.2, {tint:null, overwrite: false});
}
function over() {
trace(this);
mc = this;
TweenFilterLite.to(mc, 0.4, {_x:15, ease:Bounce.easeOut});
TweenFilterLite.to(mc.nav.menuItemBG_mc, 0.2, {tint:0xC55C7B, overwrite: false});
}