Skip to main content
Inspiring
May 22, 2007
Answered

still having issues with matrix class

  • May 22, 2007
  • 1 reply
  • 154 views
i hope i catch my favorite genius on here, who was helping me yesterday. i closed the thread before i actually tested the script because it made total sense. however, it's not working...

import flash.geom.Matrix;

var mat:Matrix = mc.transform.matrix; //where "mc" = the instance name
mat.b=Math.tan(45);

i wish to change the angle in which the y axis is skewed of a movie clip on the stage. any suggestions to what i'm doing wrong?
This topic has been closed for replies.
Correct answer kglad
you must reassign mc's transform matrix to mat after changing mat:

1 reply

kglad
Community Expert
kgladCommunity ExpertCorrect answer
Community Expert
May 22, 2007
you must reassign mc's transform matrix to mat after changing mat: