如何在 z 轴上旋转 Flash 动画
网站中有用于显示图像库的 3D 轮播,需要图像在 z 轴上旋转。我的要求是做同样的事情,但是对于完整的 Flash 动画,以便 Flash 动画在 z 轴上稍微倾斜显示 我所说的倾斜类型类似于 http://www.flashcomponents 中的倾斜图像。 net/component/majestic_3d_cover_flow_xml_horizontal.html
我的要求是在倾斜的手机图像内播放flash动画,因此为了使动画适合手机图像的屏幕内,动画也需要倾斜
THere are 3d carousels in Web Sites for displaying image galleries which require that images are rotated in the z axis. My requirement is to do the same but for a complete flash animation so that the flash animation is displayed slightly tilted in the z-axis
The kind of tilt I am talking about is similar to the tilted images in http://www.flashcomponents.net/component/majestic_3d_cover_flow_xml_horizontal.html
My requirement is to play a flash animation inside the image of a mobile phone which is tilted hence to fit the animation inside the screen of the mobile phone image, the animation also needs to be tilted
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
在带有 Flash Player 10(>=) 的 AS3 中,您可以使用 DisplayObjects 的rotationX、rotationY 和rotationZ 属性。
抢
In AS3 with Flash Player 10(>=) you can use the rotationX, rotationY and rotationZ properties of the DisplayObjects.
Rob
通过将 swf 文件导入新的 Flash 文件库,我能够实现我想要的沿着 z 轴旋转完整的动画。然后我将影片(导入的 swf )拖到舞台上,创建影片剪辑,然后使用 3d 旋转工具。这样旋转变换就应用到了完整的动画上
I was able to achieve what I wanted that is rotate a complete animation along the z axis by importing the swf file into library of a new Flash file. Then I dragged the movie (imported swf ) onto the stage, created the movie clip and then used the 3d rotation tool. This way the transformation of rotation got applied on the complete animation
要旋转整个 Flash 文件而不修改任何关键帧 (FLASH - CS6):
1 - 选择所有图层和关键帧(在 MAC 上为 CMD + A",Ctrl + A(对于使用 PC 的用户)
2- 在底部的时间轴窗口中,选择“编辑多个帧”(在“洋葱皮轮廓”按钮旁边)。将出现在时间轴数字所在的位置
3- 拖动黑色括号,直到它跨越时间轴中动画的长度
4- 选择“自由变换工具”...然后旋转到所需的角度(通过放置鼠标)指针指向当前选择的角)
5- 如果您需要修改文档宽度和/或高度,请转到顶部菜单中的“修改 - 文档”
6- 再次选择“自由变换工具”以取消选择
7-吃一个甜甜圈
To rotate your entire flash file without modifying any keyframes (FLASH - CS6):
1 - Select all your layers and keyframes (CMD + A" on MAC, Ctrl + A for those using PC)
2- In the Timeline window at the bottom, select "Edit Multiple Frames" (beside the "Onion Skin Outlines" button). A dark bracket enclosure thingy will appear where your timeline number thingys are.
3- Drag the dark bracket thingy until it spans the length of your animation in the timeline
4- Select the "Free Transform Tool"... then rotate to your desired angle (by placing your mouse pointer to the corner of the current selection)
5- If you need to modify your document width &/or height, go to "Modify - Document" in your top menu
6- Select the "Free Transform Tool" again to deselect
7- Have a donut