Actionscript 3 3D 尺寸问题
我有一个应用程序,可以让图像向眼睛移动。
当图像放大时,我希望将其大小调整为 635 像素,其中初始大小为 220 像素。我的图像的 z 轴起始位置为 0。我想计算从起始位置到调整大小的图像的距离。
我已经手动计算了距离,但是当我尝试将其放在闪光灯上时,结果不是我想要的。我确信我计算的值是正确的。
我知道可能很难理解我的问题。请帮忙。
I have an application where I can have an image moving towards the eye.
When the image enlarged, I would like to have it resized as 635 px where initial size was 220 px. I have the image with starting position as 0 in z axis. I am wanting to calculate the distance from starting position to the resized image.
I have already calculate the distance by hand but when I tried to put it on flash the result is not what i wanted. I am sure that the value I calculated was correct.
I know it may be hard to understand my problem. Please help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
一定要用3D吗?要使图像更大,您只需更改其scaleX和scaleY属性。
Do you have to use 3D? To make an image larger, you need to merely change its scaleX and scaleY properties.