Problem with Tween rotation
Copy link to clipboard
Copied
Hello I'm making a tweened rotation using the Tweener transitions. The MC I'm rotating works fine but its scales my MC. How do I prevent the MC from scaling in the rotation?
import caurina.transitions.*;
var rotate:Number = 0;
function anim():void{
rotate +=180;
Tweener.addTween(mc_cinema, {rotationX:rotate, time:1, delay:2, onComplete:anim});
}
anim();
Copy link to clipboard
Copied
there's nothing in the code you showed that would cause mc_cinema to scale.
do you have other code and what changes to you see in mc_cinema? or better, post a link to your html/swf.
Copy link to clipboard
Copied
Yes it's pretty wierd. I'm going to attach my source file.
Copy link to clipboard
Copied
Yes it's pretty wierd. There is no other code that scales my MC. The url of the site is www.cinema.web-division.com. This problem is happening also on other MC Tweens I have made with rotation.
Copy link to clipboard
Copied
where in your site are you using that tween?
Copy link to clipboard
Copied
I got the answer. I don't understand why but the MC I scaled it down to 50 on my timeline not in AS. It may be that when a rotation tween is applied to an already scaled object, it scales it too.

