Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

danika

Members
  • Content Count

    6
  • Joined

  • Last visited

Community Reputation

0 Newbie

About danika

  • Rank
    Newbie
  1. I 'd like to remove it, and make a new one with the same name! tnx
  2. Hi folks! I am searching for the easiest way to remove a new TweenMax instance. For example if i make a new tween like: var sampleTween:TweenMax; sampleTween = new TweenMax(my_mc, 1, { x:20, ease:Linear.easeNone } ); How can i remove sampleTween? sampleTween = null? Thanks in advance! Daniel
  3. True that! My bad! I tested out, and realized the [params] won't change! Actually what i meant is that during an enter_frame event, or OnUpdate, we are calling our function for example 30 times/ sec..so if we have something in this function, that's running down also 30 times.. Im thinking something like a CuePoint, but in the TweenMax! anyway in the end i came up with this: public function lifeHandler() { trace(timeTween.currentTime + " current time") if (timeTween.currentTime > 5) { timeTween.currentTime -= 5; }else { timeTween.currentTime = 0; } } public functio
  4. brilliant! I will play around with this.. tnx Carl! just one more thing...If im using onUpdate, and onUpdateParams... and im listening let's say for an "x" property, is it possible to use the value only once? like: TweenMax.to(mc, 10, {x:-180, ease:Linear.easeNone, onUpdate:xCheck, onUpdateParams:[mc.x]}); function xCheck(_x:Number){ if(Math.floor(_x) == -140){ //My Signal release only once //or maybe I could use the currentTime instead of _x } } I could do this with a bunch of Booleans...but im still searching for an easier and reliable way. best wishes danie
  5. Hi folks! Iam making a platform game, where the Hero can get extra time for picking up some jewel! For time tracking i'm using TweenMax. Is there any way, to pause tween, and skip back(reverse) let's say with 5 seconds? Any help appreciated! tnx daniel
×