简体   繁体   English

Flash .swf文件没有循环

[英]Flash .swf file not looping

I have a .swf file that is not looping although I have added the parameter to do so. 我有一个没有循环的.swf文件,虽然我添加了参数来执行此操作。 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="&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 -->

It depends on what did you set in your Flash file (FLA). 这取决于您在Flash文件(FLA)中设置的内容。 By default, a Flash file loops when it reaches the last frame. 默认情况下,Flash文件在到达最后一帧时循环。

FYI, to stop the loop, add a stop(); 仅供参考,停止循环,添加一个stop(); in the ActionScript at the end frame. 在结束帧的ActionScript中。 Valid for ActionScript 1-3. 适用于ActionScript 1-3。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM