0 Replies - 1550 Views - Last Post: 13 September 2012 - 04:33 AM

#1 OKIEWARDOYO  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 51
  • Joined: 03-April 12

startDrag stops my motion tween!

Posted 13 September 2012 - 04:33 AM

So, what the solution,

i have just created an animated circle with motion tween, then i want enable my mouse to drag this animated circle.

Here we should add event listener to the circle, but when i draged the circle, the animation of circle stopped directly!

myobject.addEventListener(MouseEvent.MOUSE_DOWN, drag_starting);

function drag_starting(e:Event):void{
e.target.startDrag();
}



anybody helop?

Is This A Good Question/Topic? 0
  • +

Page 1 of 1