Jump to content
Search Community

MarkFromOP

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by MarkFromOP

  1. I know I am missing something here, can I have an onComplete call in a Trasform Matrix tween?

     

    Here is what I have

     

    import com.greensock.*;
    import com.greensock.easing.*;
    import com.greensock.plugins.TweenPlugin;
    import com.greensock.plugins.TransformMatrixPlugin;
    TweenPlugin.activate([TransformMatrixPlugin]);

     

    TweenMax.to(mc, 2, {transformMatrix:{rotation:-15, ease:Quad.easeInOut, onComplete:myFunction}});

     

    The tween works nicely but just dead ends on the end never calling myFunction

×
×
  • Create New...