如何在 Flash IDE 中反转倾斜转换?

发布于 2024-12-02 20:55:50 字数 464 浏览 1 评论 0原文

在舞台上放置一个 100 像素 x 100 像素的盒子(不是影片剪辑,只是一个简单的形状)。 在此处输入图像描述

现在应用 30 度的垂直倾斜。你应该得到这个... 在此处输入图像描述

单击形状外部以释放变换数据。倾斜度数重置为 0(这是预期的),请参见下图 在此处输入图像描述

但是您会对形状应用什么倾斜以将其恢复到原始状态形状。最初我以为它的垂直倾斜度是-30,但这似乎返回了一个奇怪的混合形状..见下文: 在此处输入图像描述

Place a 100px by 100px box on the stage (not a movieclip, just a simple shape).
enter image description here

Now apply a vertical skew of 30 degrees. You should get this...
enter image description here

Click outside of the shape to release the transformation data. The degrees for skew resets to 0 (this is expected), see image below
enter image description here

But What skew would you apply to the shape to return it to its original shape. Initially I would've thought it was -30 in the vertical skew, but this seems to return a weird hybrid shape.. See below:
enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

骄傲 2024-12-09 20:55:50

我刚刚尝试过,答案出奇地明显……虽然不要感觉不好,但我经常忽略了显而易见的事情!

单击该对象,然后将倾斜角度设置回 0 度。

并且,+1 对于一个插图精美的问题!

编辑:与我的动画师交谈。她尝试了问题中的步骤,-30 起作用了,奇怪的是。她使用 Flash CS4。作为一种可能的替代方案,她建议将图画作为符号,然后对其进行倾斜。这样,您就可以随时回到原来的状态。不确定这是否有帮助,但希望它对你(或某人)有帮助。

I just tried it, and the answer was surprisingly obvious...though don't feel bad, I overlook the obvious a LOT!

Click the object, and set the skew angle back to 0 degrees.

And, +1 for an excellently illustrated question!

EDIT: Talked to my animator. She tried the steps in the question, and -30 worked, strangely enough. She uses Flash CS4. As a possible alternative, she suggested making the drawing a symbol, and then skewing that. That way, you can always go back to the original. Not sure if that helps, but hopefully it does you (or someone).

白云悠悠 2024-12-09 20:55:50

我终于解决了我的设置(CS5 Flash)。步骤如图所示,但工作原理如下:

  1. 将scaleX 设置为(1/cos([偏斜量])) * 100。倾斜量需要转换为弧度。
  2. 将 v-skew 设置为 -[skew amount]
  3. 释放形状,然后重新选择它(所有变换数据将被重置)
  4. 将scaleX 设置为 (1/cos([skew amount]) ) * 100。是的,您需要执行两次

在此处输入图像描述

I finally worked it out for my setup (CS5 Flash). The steps are in the diagram, but work along the lines of:

  1. Set the scaleX to (1/cos([skew amount])) * 100. The skew amount needs to be converted to radians.
  2. Set the v-skew to -[skew amount]
  3. Release the shape, then reselect it (all transformation data would be reset)
  4. Set the scaleX to (1/cos([skew amount])) * 100. Yes, you need to do it twice

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文