Hi folks,
I am jin , please accept my wishes , i have been working on as3 for some time now but was never good with animations, i came across this package and i can say this is nothing short of a miracle to me to be able to get the effects that greensock can provide ....
In order to add more value to my projects i am trying to add a camera zoom in and out at certain points in my project , now i can do this by using the below code -
TweenLite.to(WorldObj, 0, {scaleX:1.5, scaleY:1.5});
this zoom in remain for 3 seconds and then i do this to get to normal size -
TweenLite.to(WorldObj, 0, {scaleX:1, scaleY:1});
But the zoom in and out happens rather abrubptly like in a fraction of a second , i want it to be a bit slow , i came across a thread that suggests this -
TweenLite.delayedCall(2, slowDown); function slowDown() { TweenLite.to(WorldObj, 1, {x:0,y:0,scaleX:1.5, scaleY:1.5}); }
i tried it, but it does not seem to do the work , can any one please guide me as to where i am going wrong and what i can do to make it work .....
Once again thanks in advance and hope to be able to contribute after some time ....
Regards