Jump to content
GreenSock

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

kafka

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Newbie

About kafka

  • Rank
    Newbie
  1. Hi, The following code seems to send the event parameter into the handler function, Trial and error works sometimes. var tempTween:TweenMax = TweenMax.to(iSprite, iRandTime , { y:_topYSpot } ); tempTween.addEventListener(Event.COMPLETE, onEffectComplete); private function onEffectComplete(e:Event = null):void { trace (e); } Thanks for all your help. K
  2. Dear People, I love using your library, It's simple and very effective. I have a simple question, I've look in the documentation but can't find an answer. How can I recieve the TweenMaxEvent inside my event handlers ? example: TweenMax.to(iSprite, iRandTime , { y:_topYSpot, onComplete:onEffectComplete } ); private function onEffectComplete(e:Event = null):void { trace (e); } onComplete always comes to the function with no event, is there any way to recieve the event and know the target/currentTarget as usual AS3 code. Thanks In Advance and have a great day. K
×