Flash动画跳绳,未缴音频播放 [英] Flash Animations Skipping, Uncalled Audio Playing

查看:239
本文介绍了Flash动画跳绳,未缴音频播放的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我完全感到困惑的时刻。

I am totally baffled at the moment.

我有一个Flash CS5 / AS3项目,一个大的Flash游戏,使用动画了很多。我已经在一个场景划分这些成一个影片剪辑中,有相应的动作脚本和事件,为探索屏幕,而另一个影片剪辑的场景进行的挑战之一,而另一组这样的另一个挑战。

I have a Flash CS5/AS3 project, a large Flash game, that uses a LOT of animations. I've divided these up into a MovieClip on a Scene, with corresponding actionscripts and events, for the "exploring screens", and another MovieClip on a Scene for one of the challenges, and another such set for another challenge.

这个方法可以让我把只有部分需要到相应的影片剪辑的动画,和现场的事件链接到它的影片剪辑。

This method allows me to put only the animations that section needs into the corresponding MovieClip, and link the events of the scene to its MovieClip.

不过,我显然必须链接这些。我使用以下方法来做到这一点:

However, I obviously have to link these. I use the following to do it:

stop();
thismovieclip.stop();
gotoAndPlay(1, "THAT_SCENE");

接下来的影片剪辑时自动启动下一个场景出现了。

The next movieclip starts automatically when the next scene shows up.

这在理论上效果很好。不过,尽管正确的场景出现时,那场面的影片剪辑的跳跃不稳定(而不是播放流畅),其audiocues玩,一起从另外一个影片剪辑,我既不叫也不会对这一幕的audiocues。 (请注意,该影片剪辑都不能运行了。)

This works well in theory. But, though the correct Scene shows up, that scene's movieclip is skipping erratically (as opposed to playing smoothly), and its audiocues are playing, along with the audiocues from another movieclip that I neither called nor have on this Scene. (Mind you, that movieclip hadn't even RUN yet.)

这是怎么回事?如何解决呢?我知道这是可能的,但我怎么办呢?

What is going on? How do I fix it? I KNOW it is possible, but how do I do it?

编辑:我没有找到一个解决办法,消除了使用场景完全,但是,如果任何人有任何有用的信息或可能的解决方案,鼓励他们回答

I did find a workaround that eliminates the use of scenes altogether, however if anyone has any useful information or possible solutions, they are encouraged to answer!

推荐答案

似乎有一个小故障的场景,这样玩previous现场还播放当前和目标场景之间的所有场景。希望这将在CS6得到解决。

There appears to be a glitch in Scenes, such that playing a previous scene also plays all scenes between the current and the target scene. Hopefully this will be addressed in CS6.

另外,如果有人需要的场景之间导航,我建议使用影片剪辑这一翻译上的一个场景,以及隐藏和显示这些来达到同样的事情。

Meanwhile, if anyone is needing to navigate between scenes, I recommend using MovieClips intead on ONE scene, and hiding and showing those to achieve the same thing.

这篇关于Flash动画跳绳,未缴音频播放的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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