/ Published in: ActionScript 3
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
... TweenMax.to(myObject, 1, {rotationY:45, onComplete:removeMatrix}); function removeMatrix(){ myObject.transform.matrix3D = null; myObject.x=200 // or any position myObject.y=200 // or any position } ...