Jump to content
GreenSock

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

zircomfp

Members
  • Posts

    3
  • Joined

  • Last visited

zircomfp's Achievements

0

Reputation

  1. I managed a semi-simple workaround: I created an invisible shape proxy of my transformed object which serves as the TransformItem, and replicate its transform values to the real object whose center has been shifted... private function init():void{ // _tm is my transformManager _tm.addEventListener(TransformEvent.MOVE, transformUpdateHandler, false, 0, true); _tm.addEventListener(TransformEvent.SCALE, transformUpdateHandler, false, 0, true); _tm.addEventListener(TransformEvent.ROTATE, transformUpdateHandler, false, 0, true); } private function transformUpdateHandler(e:TransformEvent):void { TweenMax.to(_realObject, 0, {scaleX:tranformItem.scaleX, scaleY:tranformItem.scaleY, rotation:tranformItem.rotation, x:tranformItem.center.x, y:tranformItem.center.y}); }
  2. Just searched the forums a little better... sad that it can't
  3. Is it possible to set the registration point for transformations? Either on the Transformanager or on the TransformItem? I tried changing the TransformItem's origin property but it has no effect... Thanks!
×