Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/actionscript-3/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Actionscript 3 如何围绕中心点设置rotateX?_Actionscript 3_Flash - Fatal编程技术网

Actionscript 3 如何围绕中心点设置rotateX?

Actionscript 3 如何围绕中心点设置rotateX?,actionscript-3,flash,Actionscript 3,Flash,我想设置电影剪辑的rotateX属性(因此它在3d中向后倾斜),但每当我尝试使用它时 myMC.rotationX = -90; 它以奇怪的角度向后倾斜。如何旋转电影唇,使其向后倾斜,完全笔直?如何设置此变换的中心点?屏幕截图将有助于解释“…奇怪的角度”,但听起来您的“消失点”位于错误的位置。看看 在父对象上设置消失点(只需执行一次,除非希望移动消失点或调整舞台大小),例如: 然后旋转: myMC.rotationX = -90; 我在这个.projectionCenter上得到一个未定义的

我想设置电影剪辑的rotateX属性(因此它在3d中向后倾斜),但每当我尝试使用它时

myMC.rotationX = -90;

它以奇怪的角度向后倾斜。如何旋转电影唇,使其向后倾斜,完全笔直?如何设置此变换的中心点?

屏幕截图将有助于解释“…奇怪的角度”,但听起来您的“消失点”位于错误的位置。看看

在父对象上设置消失点(只需执行一次,除非希望移动消失点或调整舞台大小),例如:

然后旋转:

myMC.rotationX = -90;

我在这个.projectionCenter上得到一个未定义的属性。你是说这个.transform.perspectiveProjection.projectionCenter吗?
myMC.rotationX = -90;