设置阶段通过ActionScript 3点消失在Flash [英] Set stage vanishing point in Flash via actionscript 3

查看:170
本文介绍了设置阶段通过ActionScript 3点消失在Flash的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正与几个设计师,每个人都创造了3D动画(使用FP 10功能),在同一个Flash应用程序的使用。每个3D动画是一个独特的movieclip最终将是相同的FLA文件的一部分。

I'm working with a few designers, each of whom have created 3D animations (using fp 10 capabilities) for use in the same flash application. Each 3D animation is a unique movieclip that will ultimately be part of the same .fla file.

时遇到的问题是,每个所述的movieclip的在一个单独的.fla创建的,并用于消失点为舞台的.fla每个具有不同的设置。这意味着,进口的各种moveiclips到我的图书馆后,无视觉资产的对齐,因为他们在自己的源.flas。

The problem I'm having is that each of the movieclips was created in a separate .fla, and each .fla had different settings for the vanishing point for the stage. This means that after importing the various moveiclips into my library, none of the visual assets are aligned as they were in their source .flas.

好消息是,只有一个影片剪辑,这些被显示的时间,所以我并不需要能够有多个灭点;所有我需要做的就是运行时编程方式的不同点改变全球的消失点。

The good news is that only one of these movieclips is displayed at a time, so I don't need to be able to have multiple vanishing points; all I need to do is change the global vanishing point programmatically at various points during runtime.

我应该怎么办?我试图访问 root.transform.perspectiveProjection.projectionCenter 并动态分配给它新点(X,Y)值,但他们似乎并不被其上的3D影片剪辑任何影响。

What should I do? I've tried accessing root.transform.perspectiveProjection.projectionCenter and dynamically assigning it new Point(x, y) values, but they don't seem to be having any effect on the 3D movieclips.

谢谢!

推荐答案

每个片断可以有它自己的消失点,尝试检查他们的影片剪辑的实例有该值(transform.perspectiveProjection.projectionCenter <$ C C $> )

Each clip can have it's own vanishing point, try checking what the instances of their movieclips has for that value (transform.perspectiveProjection.projectionCenter)

这篇关于设置阶段通过ActionScript 3点消失在Flash的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆