带背景音频的快退/快进 SWF
我有一个包含背景音频文件的 Flash 动画 (AS2)。我被要求向其添加控件。到目前为止,我已经添加了按钮来暂停/播放动画以及停止和启动根时间轴和附加的 mp3 音频。我还需要添加一个反向按钮。我看过一些教程可以反转时间线的播放头。有没有办法让音频文件也反转?
I have a Flash animation (AS2) that contains a background audio file. I've been asked to add controls to it. So far, I have added buttons to pause/play the animation and stop and start both the root timeline and the attached mp3 audio. I also need to add a reverse button. I've seen tutorials that are enable reversing of the timeline's playhead. Is there a way to have the audio file reverse as well?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果我没理解错的话,你想反向播放声音吗?不幸的是,我确信这个问题没有答案。 AS2 不允许您像这样操作帧声音对象(即使使用 steam 的同步类型)。即使以编程方式,我也不记得 AS2 有声音实用程序来反转音频。
然而,一个聪明的技巧可能是反向录制音频。当您进行倒带时,您可以在播放头中播放常规声音的反向点处计划反向声音。我不明白这怎么会太实用,除非你有一个特定的用例。
If I understand correctly, you want to play the sound in reverse? Unfortunately, I am rather sure there is not an answer for this. AS2 doesn't allow you to manipulate frame sound objects like this (even with the sync type of steam). Even programmatically, I don't remember AS2 having the sound utilities to reverse the audio.
However, a clever hack might be to record the audio in reverse. When you do the rewind, you can plan the reversed sound at the reversed point in the playhead that the regular sound from playing. I can't see how this can be too practical though unless you have a specific use-case for it.