如何循环FLV无缝 [英] How to loop FLV seamlessly

查看:192
本文介绍了如何循环FLV无缝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我打循环式FLV的标准方式:

I am playing looped FLVs in the "standard way":

    netstream.addEventListener(NetStatusEvent.NET_STATUS, onStatus);

...

    public function onStatus(item:Object):void {
        if (item.info.code == "NetStream.Play.Stop") {
            if (loop) netstream.seek(0);
        }

在通过Flash CS 5.5创作工具(测试影片或调试影片),视频无缝循环播放。 但是!:当在浏览器或独立调试Flash播放器(包括v.11.2.202.233)扮演的还有约1秒的视频倒带前的异常暂停

When played through Flash CS 5.5 authoring tool (Test Movie or Debug Movie), the videos loop seamlessly. But! When played in the browser or standalone debug Flash player (both v.11.2.202.233) there is an abnormal pause of about 1 sec before the video "rewinds".

这是用最新版本的Flash播放器一个错误?

Is this a bug with the latest Flash player?

推荐答案

循环的FLV无缝的嵌入到SWF内的唯一途径。它被转换成一<一href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/MovieClip.html"相对=nofollow>影片剪辑,你再与播放(),停止(),nextFrame(),prevFrame()等处理。

The only way to loop an flv seamlessly is to embed inside the swf. It is converted to a MovieClip and you then handle it with play(), stop(), nextFrame(), prevFrame() etc.

当在Flash创作工具嵌入(拖在舞台上的FLV文件),请确保您选择:

When embedding in Flash Authoring tool (dragging flv file on stage), make sure that you select:

  • 在嵌入FLV的SWF ...
  • 符号类型:影片剪辑
  • 所有检查:比如放置在舞台上,展开时间表......,包括音频

这篇关于如何循环FLV无缝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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