Jump to content
Search Community

Loss in image quality when using rotationX/Y/Z

neuralism test
Moderator Tag

Recommended Posts

hello,

 

I'm currently Tweening a movieclip vector like so

 

TweenMax.to(mc, 0.5, { rotationY: 360 } );

 

However, the image becomes lossy even tho it has returned back to it's original position (I understand that if the image is tilted it will definitely be slighty blured out).

 

Is there anyway to preserve the vector quality when it returns to it's normal position? Or any workaround for that matter?

 

Thanks in advance!

Link to comment
Share on other sites

yeah, this is a real pain when dealing with Flash's pseudo 3D stuff.

luckily smarter people than I have figure this out:

http://www.kirupa.com/forum/showthread.php?t=349258

 

to apply the concepts from the link above with TweenLite/Max try:

var startX:Number = mc.x;
var startY:Number = mc.y;

TweenLite.to(mc, 2, {rotationY:360, onComplete:kill3D});

function kill3D():void{
mc.transform.matrix3D = null;
mc.x = startX
mc.y = startY;
}

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...