Jump to content
Search Community

stephanberger4

Members
  • Posts

    1
  • Joined

  • Last visited

stephanberger4's Achievements

0

Reputation

  1. Hi, I've got a gear that rotates each time I click on it : gear1.addEventListener(MouseEvent.CLICK, turn_gear1, false, 0, true); function turn_gear1(event:MouseEvent):void{ TweenLite.to(gear1, 1, { rotation: "+=10", ease: Linear.easeNone }); } Is there a way to trace the current position of the gear each time it has finish the rotation ? Cause I would like to trigger a function when the gear is in a specific position. Thanks for your help,
×
×
  • Create New...