title: how to rotate my tween in the center of the container
body: <p>i have a container 276*266 and i want to rotate an object in the center of this container thats for i am using this code :</p>
  
  <pre><code>    createjs.Tween.get(element, {loop: false})
      .to({regY:element.height/2, regX:element.width/2,x:element.x,y:element.y,rotation: 360}, 1000)
      .to({regY:element.height/2, regX:element.height/2,x:element.x,y:element.y,rotation: 0}, 1000)
      .to({alpha: 0}, 500, createjs.Ease.getPowInOut(2))
      .to({alpha: 1}, 500, createjs.Ease.getPowInOut(2));
  </code></pre>
  
  <p>but it always rotate on the top left of the container can someone know why what ca i do to rotate it in the middle of my container ?</p>