13 Replies Latest reply: Jul 10, 2012 8:21 AM by Josh737373 RSS

    looping a video

    Josh737373

      I'd like to make a swf video automatically loop on my webpage. It seems like that should be a simple matter, but I haven't been able to figure out how to do it using Flash CS6. The html code I'm using is this:

       

      <div id="flashContent">

       

       

                     <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="550" height="310" id="scene" align="middle">

                          <param name="movie" value="scene.swf" />

                          <param name="quality" value="high" />

                          <param name="bgcolor" value="#ffffff" />

                          <param name="play" value="true" />

                          <param name="loop" value="true" />

                          <param name="wmode" value="window" />

                          <param name="scale" value="showall" />

                          <param name="menu" value="true" />

                          <param name="devicefont" value="false" />

                          <param name="salign" value="" />

                          <param name="allowScriptAccess" value="sameDomain" />

                          <!--[if !IE]>-->

                          <object type="application/x-shockwave-flash" data="scene.swf" width="550" height="310">

                               <param name="movie" value="scene.swf" />

                               <param name="quality" value="high" />

                               <param name="bgcolor" value="#ffffff" />

                               <param name="play" value="true" />

                               <param name="loop" value="true" />

                               <param name="wmode" value="window" />

                               <param name="scale" value="showall" />

                               <param name="menu" value="true" />

                               <param name="devicefont" value="false" />

                               <param name="salign" value="" />

                               <param name="allowScriptAccess" value="sameDomain" />

                          <!--<![endif]-->

                               <a href="http://www.adobe.com/go/getflash">

                                    <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />

                               </a>

                          <!--[if !IE]>-->

                          </object>

                          <!--<![endif]-->

                     </object>

                </div>

       

       

      I assume there's an "autoloop" property (or something like that) that has to be set in Flash itself. But I can't find where to do that. Any links to documentation or answers would be deeply appreciated. Thanks!

       

      Update: I've been searching for a solution every day with no success. I found a forum link that addresses this question here: http://forums.adobe.com/message/4336286. Two solutions are offered there but neither work. The first is to embed the flv file in the timeline, but when I do that, the file appears as noise. (I tried using different flv files, but the result is the same.) The second has a link to a tutorial that pertains to SC4, but I'm using SC6, and I didn't know how to adapt the instructions to SC6. (I found some links online that give ActionScript code, but none of the code given compiles.)

       

      My goal is simple (or so I thought): get a video to automatically play and loop on a webpage (any way possible). My flv file is here: www.unlimit3dstudios.com/scene.flv