• Advertisement

thelionx

Member
  • Content count

    1
  • Joined

  • Last visited

Community Reputation

107 Neutral

About thelionx

  • Rank
    Newbie
  1. Hello, I am a newbie in game developing, now i am working with a shooter game for learning purpose. I have a question, in my game I created three tween animation : var myTween:Tween = new Tween(this, "scaleX", Back.easeIn, 1.2, 0, 10); var myTween2:Tween = new Tween(this, "scaleY", Back.easeIn, 1.2, 0, 10); var myTween3:Tween = new Tween(this, "alpha", None.easeIn, 1, 0, 10); This tweens will occur after enemy's health become zero, What I intended is after the animation, the clip will be removed from stage. my question is, is there a way to know that all these tweens has finished? I tried to apply [b]TweenEvent.MOTION_FINISH [/b]event for each tween , but If i do that i have to create three listenesr ( which will be problematic if I want to create ten tweens). Thank you
  • Advertisement