Skip to main content
Inspiring
October 3, 2011
Answered

3D Rotation Issues

  • October 3, 2011
  • 1 reply
  • 585 views

I have been playing with the 3D rotations of a movie clip and have noticed some issues.  Let me explain the setup.  I have a movieclip that has children movieclips.  In 2D (working fine), I can tap and drag these children around on the screen.  However, if I rotate it on the X axis (mc.rotationX), the movie clip becomes very pixellated.  I also noticed that once the rotation is applied, the children in the movie clip I am rotating no longer move (although the event of touch is firing). 

Rotating it back to 0 doesn't help.  The only way I can get the smoothness back and children to move is by re-running the app.  I am ok with the pixellation (although not sure why since it is vector) and the non moving children as long as I can get it workign without a restart.

Any thoughts?

This topic has been closed for replies.
Correct answer Colin Holgate

Any 3D changes will cache the movieclip as a bitmap. That means it's a snapshot of its contents, and you'll get a pixellated look to it if you do rotations.

1 reply

Colin Holgate
Colin HolgateCorrect answer
Inspiring
October 3, 2011

Any 3D changes will cache the movieclip as a bitmap. That means it's a snapshot of its contents, and you'll get a pixellated look to it if you do rotations.

mola2alexAuthor
Inspiring
October 4, 2011

Ok, thanks for the info.  Any way to work around this?  Should I duplicate a clip so that I can still go back and use my clip?  I want to show it in 3D as an image but then revert to 2D and then interact with it again.

Colin Holgate
Inspiring
October 4, 2011

I found a page where someone seemed to fix it by doing this:

var myMatrix3D:Matrix3D = ref.transform.matrix3D;

myMatrix3D = null;

ref.transform.matrix3D = null;

where 'ref' would be your movieclip.