Flash .swf 文件不循环

发布于 2024-10-24 14:16:12 字数 2573 浏览 7 评论 0原文

我有一个不循环的 .swf 文件,尽管我已添加了这样做的参数。它只播放一次,并在视频结束时停止而不是循环播放。 有人可以告诉我我在这里可能做错了什么吗?

       <div id="video">
          <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="211" height="316" id="FLVPlayer" style="visibility: visible; ">
            <param name="movie" value="FLVPlayer_Progressive.swf">
            <param name="quality" value="best">
            <param name="wmode" value="opaque">
            <param name="scale" value="noscale">
            <PARAM NAME="loop" VALUE="true"> 
            <param name="salign" value="lt">
            <param name="FlashVars" value="&amp;MM_ComponentVersion=1&amp;skinName=Clear_Skin_2&amp;skinAutoHide=true&amp;streamName=ScreenOnlyDemo&amp;autoPlay=true&amp;loop=true">
            <param name="swfversion" value="8,0,0,0">
            <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don't want users to see the prompt. -->
            <param name="expressinstall" value="Scripts/expressInstall.swf">
            <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
            <!--[if !IE]>-->
            <object type="application/x-shockwave-flash" data="FLVPlayer_Progressive.swf" width="211" height="316">
              <!--<![endif]-->
              <param name="quality" value="best">
              <param name="wmode" value="opaque">
              <PARAM NAME="loop" VALUE="true">
              <param name="scale" value="noscale">
              <param name="salign" value="lt">
              <param name="FlashVars" value="&amp;MM_ComponentVersion=1&amp;skinName=Clear_Skin_2&amp;skinAutoHide=true&amp;streamName=ScreenOnlyDemo&amp;autoPlay=true&amp;loop=true">
              <param name="swfversion" value="8,0,0,0">
              <param name="expressinstall" value="Scripts/expressInstall.swf">
              <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
              <div>
                <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>

              </div>
              <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object>
        </div><!-- video end -->

I have a .swf file that is not looping although I have added the parameter to do so. It plays just the once, and at the end of the video it stops instead of looping.
Can someone tell me what I might be doing wrong here?

       <div id="video">
          <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="211" height="316" id="FLVPlayer" style="visibility: visible; ">
            <param name="movie" value="FLVPlayer_Progressive.swf">
            <param name="quality" value="best">
            <param name="wmode" value="opaque">
            <param name="scale" value="noscale">
            <PARAM NAME="loop" VALUE="true"> 
            <param name="salign" value="lt">
            <param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_2&skinAutoHide=true&streamName=ScreenOnlyDemo&autoPlay=true&loop=true">
            <param name="swfversion" value="8,0,0,0">
            <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don't want users to see the prompt. -->
            <param name="expressinstall" value="Scripts/expressInstall.swf">
            <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
            <!--[if !IE]>-->
            <object type="application/x-shockwave-flash" data="FLVPlayer_Progressive.swf" width="211" height="316">
              <!--<![endif]-->
              <param name="quality" value="best">
              <param name="wmode" value="opaque">
              <PARAM NAME="loop" VALUE="true">
              <param name="scale" value="noscale">
              <param name="salign" value="lt">
              <param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_2&skinAutoHide=true&streamName=ScreenOnlyDemo&autoPlay=true&loop=true">
              <param name="swfversion" value="8,0,0,0">
              <param name="expressinstall" value="Scripts/expressInstall.swf">
              <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
              <div>
                <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>

              </div>
              <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object>
        </div><!-- video end -->

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

墨小沫ゞ 2024-10-31 14:16:12

这取决于您在 Flash 文件 (FLA) 中设置的内容。默认情况下,Flash 文件在到达最后一帧时循环。

仅供参考,要停止循环,请在结束帧的 ActionScript 中添加 stop();。对于 ActionScript 1-3 有效。

It depends on what did you set in your Flash file (FLA). By default, a Flash file loops when it reaches the last frame.

FYI, to stop the loop, add a stop(); in the ActionScript at the end frame. Valid for ActionScript 1-3.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文