在舞台上缩放影片剪辑瓦特/"将scaleX"打破时间轴动画......真的吗?缩放、影片剪辑、时间、动画

2023-09-08 14:03:01 作者:坎坷王者路。

我通过为属性的scaleX或的scaleY,它可以杀死任何种类的动画短片有在其容器影片剪辑,无论是经典还是补间动画缩放舞台上的影片剪辑。当我不缩放影片剪辑,他们的动画精品。我可以告诉剪辑gotoAndStop自己内部的框架,并没有自己的容器剪辑中影响他们的动画。我引用片段通过为W / IDE中定义自己的实例名称。我也尝试过不同的剪辑和重建他们,得到了相同的行为。

I'm scaling onstage MovieClips via AS properties "scaleX" or "scaleY", which kills any kind of animation the clips have within their container MovieClip, be it Classic or Motion Tweens. When I don't scale the MovieClips, they animate fine. I'm able to tell the clips to "gotoAndStop" on their own internal frames, and that doesn't affect their animation within their container clip. I'm referencing the clips via AS w/ their instance names defined in the IDE. I've also tried different clips and recreated them, getting the same behavior.

是否有可能通过扩展为剪辑,仍然有它的容器的时间内它的动画?

Is it possible to scale a clip via AS and still have it animate within its container timeline?

是否施加物业到舞台上的实例某种方式从其它时间轴特性dissassociate呢?

Does applying an AS property to an onstage instance somehow dissassociate it from other timeline properties?

推荐答案

据我所知,你不能停止副作用发生的历史。闪存手动(的flash.display.MovieClip)规定:

As far as I am aware you can't stop that side effect occuring. The Flash manual (flash.display.MovieClip) states:

如果你修改任何包含补间动画的MovieClip对象的下列属性,Flash播放器将停止播放头在MovieClip对象:α,blendMode,过滤器,高度,opaqueBackground,旋转,将scaleX,的scaleY,scale9Grid属性, scrollRect的,变换,可见,宽度,X或Y。但是,它不会停止在任何一个孩子的播放头的MovieClip对象的MovieClip对象。

"If you modify any of the following properties of a MovieClip object that contains a motion tween, Flash Player stops the playhead in that MovieClip object: alpha, blendMode, filters, height, opaqueBackground, rotation, scaleX, scaleY, scale9Grid, scrollRect, transform, visible, width, x, or y. However, it does not stop the playhead in any child MovieClip objects of that MovieClip object."

不过,您可以复制补间动画为ActionScript 3.0。这将生成的补间和code的XML描述构建一个新的动画(fl.motion.Animator)。这可以粘贴。无论您讨好(这是在你的剪贴板)。现在,您可以;手动一个新的关键帧(fl.motion.Keyframe)节点添加到文档中,或者通过编程生成它。

You can however "Copy" the motion tween to ActionScript 3.0. This will generate an XML Description of the tween and code for constructing a new Animator (fl.motion.Animator). This can be pasted whereever you please (it is on your clipboard). Now you can either; manually add a new Keyframe (fl.motion.Keyframe) node to the document, or programmatically generate it.

我希望这有助于。

 
精彩推荐
图片推荐