6 Replies Latest reply on Oct 22, 2010 5:06 PM by cantata-steve

    Problem: Flash movie plays on desktop, but not on website

    cantata-steve

      Hi, I'm new to Flash but have successfully created a Flash Movie that works using Firefox and Safari on my (iMac) desktop, but not after I upload to my website.

       

      I started with an flv video, imported it into an fla document along with a playback skin then published it creating an html file and two swf files. I've checked the html file, and it looks fine. The flv file is only 17MB and I've uploaded all 5 files to my site on:

       

      http://www.cantata.co.uk/temp2/minorswing.html

       

      but all I seem to get is the control skin's "sending data" pole turning.The movie never arrives. I can get much bigger mpeg and wmv movies up on my screen very quickly.

       

      Can anyone suggest what the problem may be? I'm running Snow Leopard on my Mac (OX 10.6.6). I've tried using different videos but nothing seems to work.

       

      Here's the relevant html generated by Flash

       

      <div id="flashContent">
                  <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="390" id="minorswing" align="middle">
                      <param name="movie" value="minorswing.swf" />
                      <param name="quality" value="high" />
                      <param name="bgcolor" value="#ffffff" />
                      <param name="play" value="true" />
                      <param name="loop" value="false" />
                      <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="minorswing.swf" width="640" height="390">
                          <param name="movie" value="minorswing.swf" />
                          <param name="quality" value="high" />
                          <param name="bgcolor" value="#ffffff" />
                          <param name="play" value="true" />
                          <param name="loop" value="false" />
                          <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>

       

      Many thanks if you can help

       

      Steve

        • 1. Re: Problem: Flash movie plays on desktop, but not on website
          kglad Adobe Community Professional & MVP

          if you're using as2, you probably have an incorrect path to your flv.

          1 person found this helpful
          • 2. Re: Problem: Flash movie plays on desktop, but not on website
            cantata-steve Level 1

            Thanks - I don't know what as2 is. I'm using Flash CS5. When I import the flv movie file, I'm asked to choose a skin and then a window comes up to tell me that the address of the flv file with respect to the other files will be minorswing.flv by which I take it to mean that all the files need to be in the same level of folder (directory). All five are in the same folder on my Mac and in the same folder on my website. I can't see how I can influence the program in choosing a different structure or outputting different html in the Publish Settings or elsewhere.

             

            I would have expected the relative structure of the files to be maintained between my desktop, where I can play the movie in my browsers, and the website, where I can't. I was surprised there was no "src" param name in the html, and I did try inserting one, but it made no difference, so I assumed the default for the html is to be in the same folder as the html and that the minorswing.swf file would contain information on the whereabouts of the flv file and the skin swf file.

             

            Is there a way of reading or editing the swf files to include an absolute url?

            • 3. Re: Problem: Flash movie plays on desktop, but not on website
              cantata-steve Level 1

              Sorry, I've looked up as2 now. I uploaded my files to my website using a Mac ftp program called Fetch. As far as I can see, it has done the upload properly because I can access the html, I just can't play the movie.

              • 4. Re: Problem: Flash movie plays on desktop, but not on website
                kglad Adobe Community Professional & MVP

                as2=actionscript 2.0

                 

                click on your flvplayback component in the ide and check the contentPath.  make sure it's not an absolute path and make sure you upload the flv to your website.

                1 person found this helpful
                • 5. Re: Problem: Flash movie plays on desktop, but not on website
                  cantata-steve Level 1

                  Thanks again, but I can't seem to get anything up allowing me to make changes. In the window menu, I can click on Components or Components Inspector and then on FLV Playback but all I seem to get is grey boxes with a play button in the middle and FLVPlayback: 2.1.0.23 at the top left and no options to do anything. I'm sorry to be so dense. Could you possibly spell out what I have to do from the point where I've opened the fla file?

                   

                  By the way, I'm using actionscript 3

                   

                   

                  Steve

                  • 6. Re: Problem: Flash movie plays on desktop, but not on website
                    cantata-steve Level 1

                    Thanks kglad

                     

                    I went back to Flash and did the whole thing again using ActionScript 2 instead of ActionScript 3. And it now works. Thank you very much indeed for your time and helpful comments. This has taken me three days. I really do wish that software companies wouldn't put their stuff out until it works properly. I can now understand why Steve Jobs is not supporting Flash on the iPad. It's great to have a format that almost everyone can read, but it's got to be straightforward to use.

                     

                    cheers and thanks again

                     

                    Steve Hill