Remove blur effect caused by 3d transform after the tweenmax transform


/ Published in: ActionScript 3
Save to your folder(s)



Copy this code and paste it in your HTML
  1. ...
  2.  
  3. TweenMax.to(myObject, 1, {rotationY:45, onComplete:removeMatrix});
  4.  
  5. function removeMatrix(){
  6. myObject.transform.matrix3D = null;
  7. myObject.x=200 // or any position
  8. myObject.y=200 // or any position
  9. }
  10.  
  11. ...

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.