İ want to crea a tween like this:
function test(eventObject:MouseEvent) {
TweenLite.to(Box_mc, 1, {scaleX:0,scaleY:0});
TweenLite.to(Box_mc, 1, {delay:1,scaleX:1,scaleY:1, ease:Back.easeOut});
}
But it doesn't work. When i create a function like this;
function test(eventObject:MouseEvent) {
TweenLite.to(Box_mc, 1, {scaleX:0,scaleY:0});
TweenLite.to(Box_mc_2, 1, {delay:1,scaleX:1,scaleY:1, ease:Back.easeOut});
}
it works but i want to tween same insctance name object "Box_mc". How can i do this.
Thanks for your answers.